Created
November 14, 2015 19:26
-
-
Save flamingspaz/19b128c089e7d02ac370 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "===============================================" | |
echo "PACKAGING ZIP" | |
echo "===============================================" | |
cd /home/yousef/Projects/b2g/b2g-n4/mako-template | |
rm -rf ../mako | |
cp -R /home/yousef/Projects/b2g/b2g-n4/mako-template /home/yousef/Projects/b2g/b2g-n4/mako | |
cp /home/yousef/Projects/b2g/b2g-n4/B2G/out/target/product/mako/boot.img /home/yousef/Projects/b2g/b2g-n4/mako/boot.img | |
cp -R /home/yousef/Projects/b2g/b2g-n4/B2G/out/target/product/mako/system /home/yousef/Projects/b2g/b2g-n4/mako | |
cp -R /home/yousef/Projects/b2g/b2g-n4/B2G/out/target/product/mako/data/local/webapps/ /home/yousef/Projects/b2g/b2g-n4/mako/system/b2g/webapps # there's a fancy new flag to do this at build time | |
cd /home/yousef/Projects/b2g/b2g-n4/mako | |
name="fxos-mako-$(date +"%y-%m-%d").zip" | |
zip -r "/home/yousef/Projects/b2g/b2g-n4/$name" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment