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
|