2014-02-12 17:33:31 +00:00
|
|
|
package:
|
2014-07-11 18:20:03 +00:00
|
|
|
rm -rf dist_package
|
2014-06-05 11:59:36 +00:00
|
|
|
./node_modules/gulp/bin/gulp.js clean
|
2014-05-09 15:35:44 +00:00
|
|
|
./node_modules/gulp/bin/gulp.js package
|
2014-06-05 19:56:40 +00:00
|
|
|
cp -r dist dist_package
|
2015-03-24 20:02:59 +00:00
|
|
|
find dist_package | grep "\.git\|DS_Store\|.swp" | xargs rm -rf
|
2014-06-05 19:56:40 +00:00
|
|
|
cd dist_package && zip -r ../releases/webogram_v$(version).zip .
|
2014-02-12 17:33:31 +00:00
|
|
|
|
|
|
|
publish:
|
2014-03-21 10:07:46 +00:00
|
|
|
./node_modules/gulp/bin/gulp.js clean
|
2014-02-20 00:54:36 +00:00
|
|
|
cd dist && git pull origin gh-pages
|
2014-03-19 11:25:53 +00:00
|
|
|
./node_modules/gulp/bin/gulp.js publish
|
2014-06-04 10:16:21 +00:00
|
|
|
echo -n "Please open http://localhost:8000/dist/index.html and check if everything works fine." && read -e
|
2014-03-19 11:25:53 +00:00
|
|
|
cd dist && git add --all . && git commit -am "merged with master" && git push origin gh-pages
|
2015-02-11 17:50:33 +00:00
|
|
|
|
2015-02-11 19:11:08 +00:00
|
|
|
bump:
|
|
|
|
./node_modules/gulp/bin/gulp.js bump
|
|
|
|
|
2015-02-11 17:50:33 +00:00
|
|
|
|
|
|
|
txinstall:
|
|
|
|
curl -O https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py
|
|
|
|
sudo python get-pip.py
|
|
|
|
sudo pip install transifex-client
|
|
|
|
|
2015-02-11 18:12:38 +00:00
|
|
|
txupdate:
|
|
|
|
tx pull -f
|
|
|
|
|
|
|
|
txupload:
|
|
|
|
tx pull -f
|
|
|
|
tx push -s
|