- Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
33 lines (26 loc) · 471 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (26 loc) · 471 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
default: build test lint docs
.PHONY: node_modules
node_modules:
yarn install
.PHONY: docs
docs: node_modules
yarn docs
cp -r images docs/
.PHONY: build
build: node_modules
yarn build
.PHONY: test
test: node_modules
yarn test
.PHONY: lint
lint: node_modules
yarn lint
.PHONY: clean
clean:
rm -rf dist
.PHONY: release
release: clean test lint build
test`cat package.json | jq ".version"` = '"${VERSION}"'
git tag ${VERSION}
git push --tags
yarn publish