2014-02-12 21:33:31 +04:00
|
|
|
package:
|
2014-07-11 22:20:03 +04:00
|
|
|
rm -rf dist_package
|
2014-06-05 15:59:36 +04:00
|
|
|
./node_modules/gulp/bin/gulp.js clean
|
2014-05-09 16:35:44 +01:00
|
|
|
./node_modules/gulp/bin/gulp.js package
|
2014-06-05 23:56:40 +04:00
|
|
|
cp -r dist dist_package
|
|
|
|
find dist_package | grep "\.git\|DS_Store" | xargs rm -rf
|
|
|
|
cd dist_package && zip -r ../releases/webogram_v$(version).zip .
|
2014-02-12 21:33:31 +04:00
|
|
|
|
|
|
|
publish:
|
2014-03-21 14:07:46 +04:00
|
|
|
./node_modules/gulp/bin/gulp.js clean
|
2014-02-20 01:54:36 +01:00
|
|
|
cd dist && git pull origin gh-pages
|
2014-03-19 15:25:53 +04:00
|
|
|
./node_modules/gulp/bin/gulp.js publish
|
2014-06-04 14:16:21 +04:00
|
|
|
echo -n "Please open http://localhost:8000/dist/index.html and check if everything works fine." && read -e
|
2014-03-19 15:25:53 +04:00
|
|
|
cd dist && git add --all . && git commit -am "merged with master" && git push origin gh-pages
|
2015-02-11 20:50:33 +03:00
|
|
|
|
2015-02-11 22:11:08 +03:00
|
|
|
bump:
|
|
|
|
./node_modules/gulp/bin/gulp.js bump
|
|
|
|
|
2015-02-11 20:50:33 +03: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 21:12:38 +03:00
|
|
|
txupdate:
|
|
|
|
tx pull -f
|
|
|
|
|
|
|
|
txupload:
|
|
|
|
tx pull -f
|
|
|
|
tx push -s
|