forked from zhukov/webogram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (29 loc) · 939 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package:
rm -rf dist_package
./node_modules/gulp/bin/gulp.js clean
./node_modules/gulp/bin/gulp.js package
cp -r dist dist_package
find dist_package | grep "\.git\|DS_Store\|.swp" | xargs rm -rf
cd dist_package && zip -r ../releases/webogram_v$(version).zip .
ghdist:
rm -rf dist
mkdir dist
cp -r .git dist/
cd dist && git checkout gh-pages
publish:
./node_modules/gulp/bin/gulp.js clean
cd dist && git pull origin gh-pages
./node_modules/gulp/bin/gulp.js publish
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
bump:
./node_modules/gulp/bin/gulp.js bump
txinstall:
curl -O https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py
sudo python get-pip.py
sudo pip install transifex-client
txupdate:
tx pull -f
txupload:
tx pull -f
tx push -s