diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 0000000..2ec816f --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1,2 @@ +html +latex diff --git a/res/packaging.sh b/res/packaging.sh index 275fe83..dbad4b8 100644 --- a/res/packaging.sh +++ b/res/packaging.sh @@ -9,6 +9,8 @@ cp ../src/* temp # Copy resources cp keywords.txt temp +cp install_* temp +rm temp/install_local_* # Copy examples cp -r examples/* temp/examples @@ -24,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