2014-08-04 14:47:32 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
ZIP="C:\Program Files\7-Zip\7z.exe"
|
2014-08-04 14:56:19 +02:00
|
|
|
|
|
|
|
|
TAG=$(git describe)
|
|
|
|
|
OUTPUT="ArduinoJson-$TAG.zip"
|
2014-08-04 14:47:32 +02:00
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
INPUT=$(find ArduinoJson -regex ".*\.\(cpp\|h\|md\|txt\|ino\)$" -not -regex ".*Tests/.*")
|
|
|
|
|
|
|
|
|
|
rm -f $OUTPUT
|
|
|
|
|
"$ZIP" a $OUTPUT $INPUT
|