-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMakefile
More file actions
70 lines (47 loc) · 821 Bytes
/
Makefile
File metadata and controls
70 lines (47 loc) · 821 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
PUBLISHER_NAME = MichaelCurrin
default: install
all: hooks install test build
h help:
@grep '^[a-z]' Makefile
.PHONY: hooks
hooks:
cd .git/hooks && ln -s -f ../../hooks/pre-push pre-push
install:
npm install
outdated:
npm outdated
upgrade:
npm upgrade
fmt:
npm run fmt:fix
l lint:
npm run lint:fix
fix: fmt lint
t test: fix
npm run cover
npm run cover:report
npm run cover:check
q test-quick:
npx tsc -p .
npm run test:vscode
### Build
.PHONY: build
build:
npm run build
# Global install.
e ext:
npm run checks
npm run ext
### Deploy
login:
npx vsce login $(PUBLISHER_NAME)
# Increment tag, publish to Marketplace, then install globally.
publish-M:
npx vsce publish major
npm run ext
publish-m:
npx vsce publish minor
npm run ext
publish-b:
npx vsce publish patch
npm run ext