forked from literallycanvas/literallycanvas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (29 loc) · 921 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
36
37
38
39
.PHONY: clean all update-gh-pages gulp release-all release-files release-branch
all: gulp
gulp:
gulp
clean:
rm -f lib/js/literallycanvas*.js
serve:
gulp serve
release-files: all
-rm -rf literallycanvas
mkdir literallycanvas
cp -r lib/* literallycanvas/
cp README_release.txt literallycanvas/README.txt
cp bower_release.json literallycanvas/bower.json
release-branch: release-files
git fetch lc release:release
git push origin lc/release:release
ghp-import -p -r lc -b release literallycanvas -m "Release"
release-bower:
git push lc-bower release:master -f
git push lc-bower --tags
release-npm:
npm publish
ignore-js:
git update-index --assume-unchanged lib/js/literallycanvas.js
git update-index --assume-unchanged lib/js/literallycanvas.min.js
no-ignore-js:
git update-index --no-assume-unchanged lib/js/literallycanvas.js
git update-index --no-assume-unchanged lib/js/literallycanvas.min.js