-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
zipall.sh
executable file
·23 lines (18 loc) · 1011 Bytes
/
zipall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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, 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
echo "Now, go to https://github.com/Naereen/kaamelott-soundboard-desktop-app/releases/edit/ and update the latest release..."