forked from KyleAMathews/react-icon-factory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (28 loc) · 601 Bytes
/
Makefile
File metadata and controls
36 lines (28 loc) · 601 Bytes
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
BIN = ./node_modules/.bin
release-patch:
@$(call release,patch)
release-minor:
@$(call release,minor)
release-major:
@$(call release,major)
build:
@$(BIN)/cjsx -cb -o dist/ src/
@$(BIN)/webpack
watch:
@$(BIN)/webpack-dev-server --hot
publish:
git push --tags origin HEAD:master
@$(BIN)/cjsx -cb -o dist/ src/
npm publish
publish-gh-pages:
git checkout gh-pages
git merge master
@$(BIN)/webpack --config webpack.config.production.js
cp examples/* .
git add --all .
git commit -m "New release"
git push origin gh-pages
git checkout master
define release
npm version $(1)
endef