Archiving built packages once created and cleaning up.

This commit is contained in:
Francois Best 2012-05-23 00:17:34 +02:00
parent 5b9a29bd75
commit 88e4a19fcf
1 changed files with 13 additions and 1 deletions

View File

@ -26,4 +26,16 @@ cp -r ../doc/* temp/doc
# Generate package
mv temp MIDI
zip -r MIDI.zip MIDI
mv MIDI.zip Arduino_MIDI_Library_v.zip
# Remove temp folder
rm -rf MIDI
# Archive generated packaged
if [[ !( -d ../bin ) ]]
then
mkdir ../bin # Create archives location
fi
mv MIDI.zip ../bin/Arduino_MIDI_Library.zip