-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 938 Bytes
/
Copy pathMakefile
File metadata and controls
38 lines (28 loc) · 938 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
37
38
.PHONY: help test typecheck check-clean check-npm-login release-check publish push github-release release
help:
@echo "Targets:"
@echo " make test Run unit tests"
@echo " make typecheck Run TypeScript typecheck"
@echo " make release-check Verify npm login, tests, clean git tree, and package tarball"
@echo " make publish Run release-check, then npm publish"
@echo " make push Push commits and tags"
@echo " make github-release Create GitHub release from CHANGELOG.md"
@echo " make release Publish to npm, push commits/tags, then create GitHub release"
test:
npm test
typecheck:
npm run typecheck
check-clean:
npm run check:clean
check-npm-login:
npm run check:npm-login
release-check:
npm run release:check
publish: release-check
npm publish
push:
git push
git push --tags
github-release:
npm run release:github
release: publish push github-release