aboutsummaryrefslogtreecommitdiffstats
path: root/buildApp.sh
blob: c7c7c66a9b5535d64ed2c373d58fe2374f1c63b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
echo "\033[1;32mBuilding for firefoxOS...\033[0m"
sh tools/deploy.sh
cp manifest.deploy deploy/biblez-ng/manifest.webapp
cd deploy/biblez-ng/
zip -r -q ../biblez.zip ./
echo "\033[1;32mBuilding for Firefox\033[0m"
cd ../..
#sh tools/deploy.sh -o github/app
rm -R github/app
mkdir -p github/app
cp -a deploy/biblez-ng/. github/app
cp manifest.desktop github/app/manifest.webapp
cp biblez.appcache github/app/biblez.appcache
echo "\033[1;32mDone! You'll find the app in github/app\033[0m"