3 # use this script to package Firmata for distribution
5 # package for Arduino 1.0.x
7 cp -r examples temp/Firmata
8 cp -r extras temp/Firmata
9 cp -r utility temp/Firmata
12 cp keywords.txt temp/Firmata
13 cp readme.md temp/Firmata
15 find . -name "*.DS_Store" -type f -delete
16 zip -r Firmata.zip ./Firmata/
18 mv ./temp/Firmata.zip Arduino-1.0.x-Firmata-2.5.7.zip
20 #package for Arduino 1.6.x and 1.8.x
21 cp library.properties temp/Firmata
23 mv readme.md ./extras/
29 find . -name "*.DS_Store" -type f -delete
30 zip -r Firmata.zip ./Firmata/
32 mv ./temp/Firmata.zip Firmata-2.5.7.zip