-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmakefile
More file actions
39 lines (32 loc) · 851 Bytes
/
makefile
File metadata and controls
39 lines (32 loc) · 851 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
.PHONY: install
install:
npm install
cd test-integration/cjs-project && npm install
cd test-integration/esm-project && npm install
.PHONY: build
build: install
npm run build
.PHONY: test
test: install
npm run typecheck
npm run test
npm run format.check
npm run lint
.PHONY: test-integration
test-integration: build
cd test-integration/cjs-project && npm install --install-links=false && npm test
cd test-integration/esm-project && npm install --install-links=false && npm test
.PHONY: test-all
test-all: test test-integration
.PHONY: bake-build
bake-build:
docker buildx bake
.PHONY: bake-test-all
bake-test-all:
./bake_test_all.sh
.PHONY: nuke
nuke:
rm -Rf dist
rm -Rf node_modules
cd test-integration/esm-project && rm -Rf node_modules package-lock.json
cd test-integration/cjs-project && rm -Rf node_modules package-lock.json