-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjustfile
51 lines (38 loc) · 1.06 KB
/
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
default:
just --list
@fix_perms:
chmod +x build/build.sh
@init-clangd: fix_perms
build/build.sh -f
@compile extra_args="": fix_perms
build/build.sh -c {{extra_args}}
@link name="hsh": fix_perms
build/build.sh -l {{name}}
@test extra_arg1="" extra_arg2 ="": fix_perms
build/build.sh -t {{extra_arg1}} {{extra_arg2}}
@setup-testing: fix_perms
build/build.sh -st
@build name="hsh": fix_perms
just compile {{name}}
just link {{name}}
@run args="" name="hsh": fix_perms
just compile {{name}}
just link {{name}}
./build/bin/{{name}} {{args}}
@debug-linux args="" name="hsh": fix_perms
just compile --debug
just link {{name}}
valgrind ./build/bin/{{name}} {{args}}
@debug-windows args="" name="hsh": fix_perms
just compile --debug
just link {{name}}
lldb ./build/bin/{{name}}.exe {{args}}
@debug-no-debugger args="" name="hsh": fix_perms
just compile --debug
just link {{name}}
./build/bin/{{name}} {{args}}
@clear_cores: fix_perms
build/build.sh -vg
@install name="hsh": fix_perms
just build {{name}}
sudo mv bin/{{name}} /usr/bin/