webogram-i2p/Makefile

15 lines
590 B
Makefile
Raw Normal View History

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
find dist_package | grep "\.git\|DS_Store" | xargs rm -rf
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
./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
cd dist && git add --all . && git commit -am "merged with master" && git push origin gh-pages