-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.justfile
81 lines (67 loc) · 1.56 KB
/
build.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
workspace_dir := "/home/vagrant/workspace/cxx/walnut"
# --------------------- projects --------------------------
genesis-build:
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake -P Genesis
genesis-watch:
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
watchexec -w Genesis/src -- "xmake -P Genesis"
genesis: genesis-build
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake r -P Genesis
raytracing-build:
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake -P Raytracing
raytracing-watch:
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
watchexec -w Raytracing -e h,hpp,cpp -- "xmake -P Raytracing"
raytracing: raytracing-build
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake r -P Raytracing
sparkai-build:
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake -P spark
sparkai-run: sparkai-build
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake r -P spark
sparkai3-build:
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake -P spark3
sparkai3-run: sparkai3-build
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake r -P spark3
walnutapp-build:
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake -P WalnutApp
walnutapp-run:
#!/usr/bin/env bash
set -euxo pipefail
cd {{workspace_dir}}
xmake r -P WalnutApp
compile_commands:
#!/usr/bin/env bash
cd {{workspace_dir}}
xmake project -k compile_commands
# vim: set ft=make :