forked from zhukov/webogram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (27 loc) · 803 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
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 publish
echo -n "Please open http://localhost:8000/dist/index.html and check if everything works fine." && read -e
./node_modules/gulp/bin/gulp.js deploy
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