-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (32 loc) · 1.06 KB
/
Makefile
File metadata and controls
42 lines (32 loc) · 1.06 KB
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
.PHONY: dev build package test typecheck test-unit test-integration lint clean help
dev:
npm run dev
build:
npm run build
package: build
npx vsce package --no-dependencies
test: lint typecheck test-unit test-integration
typecheck:
npx tsc --noEmit --skipLibCheck
test-unit:
npm run test-unit
test-integration:
npm run test-integration
lint:
npm run lint
clean:
rm -rf dist *.vsix
help:
@echo "Usage: make <target>"
@echo ""
@echo "Targets:"
@echo " dev One-shot build (non-production)"
@echo " build Type-check + production build"
@echo " package Build and package as .vsix"
@echo " test Run lint + typecheck + unit + integration tests"
@echo " typecheck Run TypeScript type-check only"
@echo " test-unit Run unit tests only"
@echo " test-integration Run integration tests (requires a running Polyphon instance)"
@echo " lint Type-check and lint source files"
@echo " clean Remove dist/ and .vsix files"
@echo " help Show this help message"