forked from rescript-lang/syntax
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (26 loc) · 704 Bytes
/
Makefile
File metadata and controls
36 lines (26 loc) · 704 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
SHELL = /bin/bash
build:
dune build
bootstrap: build
dune exec -- bash ./scripts/bootstrap.sh
bench: build
dune exec -- bench
test: build
dune exec -- testrunner
dune exec -- bash ./scripts/test.sh
make reanalyze
bash ./scripts/testok.sh
roundtrip-test: build
dune exec -- testrunner
ROUNDTRIP_TEST=1 dune exec -- bash ./scripts/test.sh
make reanalyze
bash ./scripts/testok.sh
reanalyze: build
reanalyze.exe -set-exit-code -all-cmt _build/default -suppress testrunner,compiler-libs-406 -exclude-paths compiler-libs-406
format:
dune build @fmt --auto-promote
checkformat:
dune build @fmt
clean:
dune clean
.PHONY: bench clean test roundtrip-test reanalyze bootstrap build-native