Skip to content

Commit 73e8260

Browse files
authored
Add Makefile (#960)
1 parent fba0a1b commit 73e8260

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pre:
2+
python -m pip install pre-commit ansible
3+
pre-commit install
4+
npm install -g pnpm
5+
6+
install:
7+
pnpm install
8+
9+
dev:
10+
pnpm dev
11+
12+
build:
13+
pnpm build
14+
15+
deploy:
16+
$(if $(FORCE),$(if $(filter 1,$(FORCE)), \
17+
@echo TO BE IMPLEMENTED, \
18+
$(error FORCE must be set to 1)),$(error Use 'make deploy FORCE=1' to deploy))
19+
20+
clean:
21+
git clean -fdX
22+
23+
.PHONY: pre install dev build deploy clean

0 commit comments

Comments
 (0)