diff --git a/libraries/BlinkSenseMove.zip b/attic/libraries/BlinkSenseMove.zip similarity index 100% rename from libraries/BlinkSenseMove.zip rename to attic/libraries/BlinkSenseMove.zip diff --git a/libraries/Foobar/examples/FoobarExample/FoobarExample.ino b/attic/libraries/Foobar/examples/FoobarExample/FoobarExample.ino similarity index 100% rename from libraries/Foobar/examples/FoobarExample/FoobarExample.ino rename to attic/libraries/Foobar/examples/FoobarExample/FoobarExample.ino diff --git a/libraries/Foobar/keywords.txt b/attic/libraries/Foobar/keywords.txt similarity index 100% rename from libraries/Foobar/keywords.txt rename to attic/libraries/Foobar/keywords.txt diff --git a/libraries/Foobar/library.properties b/attic/libraries/Foobar/library.properties similarity index 100% rename from libraries/Foobar/library.properties rename to attic/libraries/Foobar/library.properties diff --git a/libraries/Foobar/src/foobar.cpp b/attic/libraries/Foobar/src/foobar.cpp similarity index 100% rename from libraries/Foobar/src/foobar.cpp rename to attic/libraries/Foobar/src/foobar.cpp diff --git a/libraries/Foobar/src/foobar.h b/attic/libraries/Foobar/src/foobar.h similarity index 100% rename from libraries/Foobar/src/foobar.h rename to attic/libraries/Foobar/src/foobar.h diff --git a/tools/pack-release.sh b/tools/pack-release.sh new file mode 100755 index 0000000..9a6e91e --- /dev/null +++ b/tools/pack-release.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +LIB_NAME=BlinkSenseMove +ZIP_NAME=$LIB_NAME.zip +LIB_DIR=../libraries + + +cd $LIB_DIR + +find .. -name ".DS_Store" -print0 | xargs -0 rm -f + +if [ -f "$ZIP_NAME" ]; then + echo "# deleting existing zip file" + rm "$ZIP_NAME" +fi + +zip --quiet -r "$ZIP_NAME" ./$LIB_NAME