-
Notifications
You must be signed in to change notification settings - Fork 6
/
makefile
45 lines (33 loc) · 974 Bytes
/
makefile
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
## The basics
test:
dune runtest
build:
dune build
deps:
opam install --deps-only ./ppx_relit.opam ./relit_helper.opam
## Some simple examples for your convienence!
simple_example:
dune build simple_tests/simple_example.exe
dune exec simple_tests/simple_example.exe
spliced_ocaml:
dune build simple_tests/spliced_ocaml.exe
dune exec simple_tests/spliced_ocaml.exe
splice_in_splice:
dune build simple_tests/splice_in_splice.exe
dune exec simple_tests/splice_in_splice.exe
my_first_timeline:
dune build simple_tests/my_first_timeline.exe
dune exec simple_tests/my_first_timeline.exe
install:
dune build @install
dune install regex_parser
dune install test_parser
dune install timeline_parser
dune install regex_example
dune install timeline_example
dune install test_example
dune install relit_helper
dune install ppx_relit
clean:
@rm -rf _build
.PHONY: build test install clean simple_example spliced_ocaml splice_in_splice my_first_timeline