-
Notifications
You must be signed in to change notification settings - Fork 3
/
justfile
36 lines (26 loc) · 917 Bytes
/
justfile
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
# -*-Makefile-*-
default:
just test-nain4
test PATTERN *FLAGS: install-tests
sh install/nain4-test/run-each-test-in-separate-process.sh {{PATTERN}} {{FLAGS}}
test-nain4 *FLAGS:
just test '' {{FLAGS}}
clean:
fd --no-ignore "^build$" --exec rm -rf {}
fd --no-ignore "^install$" --exec rm -rf {}
install-nain4:
meson setup nain4/build/nain4 nain4/src
meson compile -C nain4/build/nain4
meson install -C nain4/build/nain4
install-tests: install-nain4
meson setup nain4/build/nain4-test nain4/test
meson compile -C nain4/build/nain4-test
meson install -C nain4/build/nain4-test
# ----------------------------------------------------------------------
# Add recipes here to help with discovery of recipes in subdirectories
test-examples:
just examples/
test-client-side:
just client_side_tests/test-all
test-compile-time:
just compile-time-tests/test-all