-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 696 Bytes
/
Makefile
File metadata and controls
37 lines (26 loc) · 696 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
.PHONY: install install-tools check precommit precommit-all hooks up dn destroy prepare-release
install: install-tools
# npm packages (requires mounted filesystem for package.json)
npm ci
# ensure nested submodules are available on fresh clones
git submodule update --init --recursive
install-tools:
bash scripts/install.sh
check:
npx tsc --noEmit 2>&1
precommit-all:
npx prettier --write "**/*.ts"
npx tsc --noEmit 2>&1
precommit:
@bash scripts/precommit.sh
hooks:
git config core.hooksPath .githooks
chmod +x .githooks/pre-commit
up:
@bash scripts/createCluster.sh
dn:
pulumi dn -y
destroy:
./scripts/destroyCluster.sh
prepare-release:
@bash scripts/prepareRelease.sh