-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (36 loc) · 847 Bytes
/
Makefile
File metadata and controls
48 lines (36 loc) · 847 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
mise := ~/.local/bin/mise
define HELP_BODY
USAGE: make <subcommand>
SUBCOMMANDS:
help Show help.
setup Set up development environment.
clean Clean build folder.
env Show build environment.
build Build.
test Run tests.
format Format source code.
autocorrect Autocorrect lint issues if possible.
lint Lint source code.
endef
export HELP_BODY
help:
@echo "$$HELP_BODY"
setup:
curl "https://mise.run" | sh
clean:
@$(mise) run clean
env:
@$(mise) run env
build: env
@$(mise) run build
test:
@$(mise) run test
format:
@$(mise) install
@$(mise) run format
autocorrect:
@$(mise) install
@$(mise) run autocorrect
lint:
@$(mise) install
@$(mise) run lint