-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (22 loc) · 789 Bytes
/
Makefile
File metadata and controls
33 lines (22 loc) · 789 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
.PHONY: build test test-full test-ssa test-fuzz clean check-grammar paper docs-site docs-serve
NIX_DEVELOP = XDG_CACHE_HOME=$(CURDIR)/.cache nix --extra-experimental-features "nix-command flakes" develop --command
build:
$(NIX_DEVELOP) lake build
test: build
$(NIX_DEVELOP) sh ./run_tests.sh
test-full: build
$(NIX_DEVELOP) sh ./run_tests.sh --full
test-ssa: build
$(NIX_DEVELOP) bash test_ssa.sh
test-fuzz: build
$(NIX_DEVELOP) bash test_parser_fuzz.sh
check-grammar:
$(NIX_DEVELOP) python3 scripts/check_ll1.py grammar/concrete.ebnf
paper:
$(NIX_DEVELOP) typst compile paper/main.typ paper/main.pdf
docs-site:
$(NIX_DEVELOP) zola --root site build
docs-serve:
$(NIX_DEVELOP) zola --root site serve --interface 127.0.0.1 --port 18080
clean:
$(NIX_DEVELOP) lake clean