Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Naereen/kaamelott-soundboard-desk…
Browse files Browse the repository at this point in the history
…top-app
  • Loading branch information
Naereen committed Dec 7, 2017
2 parents 2ce5100 + 722ee3f commit 0f35081
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions zipall.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
#!/usr/bin/env bash

echo "Removing the bower_components and node_modules directories from compiled apps..."
find . -type d -iname 'kaamelott-soundboard-desktop-app*' -exec echo rm -rvf ./{}/bower_components/ ./{}/node_modules/ \;
echo "OK ? Ctrl+C to cancel, Enter to validate"
read || exit
find . -type d -iname 'kaamelott-soundboard-desktop-app*' -exec rm -rvf ./{}/bower_components/ ./{}/node_modules/ \;
echo "DONE"
echo "Removed the bower_components and node_modules directories from compiled apps :-)"

echo

echo "Zipping all the applications..."
find . -type d -iname 'kaamelott-soundboard-desktop-app*' -exec echo zip -r -9 -y zips/{}.zip {} \;

echo "OK ? Ctrl+C to cancel"
echo "OK ? Ctrl+C to cancel, Enter to validate"
read || exit

find . -type d -iname 'kaamelott-soundboard-desktop-app*' -exec zip -r -9 -y zips/{}.zip {} \;
echo "DONE"
echo "Zipped all the applications in zips/ folder... :-)"
echo "Now, go to https://github.com/Naereen/kaamelott-soundboard-desktop-app/releases/edit/ and update the latest release..."
echo "Zipped all the applications in zips/ folder :-)"

echo

echo "Now, go to https://github.com/Naereen/kaamelott-soundboard-desktop-app/releases/edit/ and update the latest release..."

0 comments on commit 0f35081

Please sign in to comment.