-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathjustfile
69 lines (57 loc) · 1.34 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
default:
@just --choose
build profile='dev':
just gui/ build '{{profile}}'
just cli/ build '{{profile}}'
just android/ build '{{profile}}'
just web/ build '{{profile}}'
test:
just lib/ test
just gui/ test
just cli/ test
just android/ test
just web/ test
test-cov:
just lib/ test-cov
just gui/ test-cov
just cli/ test-cov
just android/ test-cov
just web/ test-cov
llvm-cov-clean:
cargo llvm-cov clean --workspace
test-cov-report format='lcov':
#!/usr/bin/env bash
set -euo pipefail
case '{{format}}' in
lcov)
format_args="--lcov --output-path lcov.info"
;;
html)
format_args="--html"
;;
*)
echo Invalid format
exit 1
;;
esac
cargo llvm-cov report $format_args
install prefix:
just gui/ install '{{prefix}}'
just cli/ install '{{prefix}}'
uninstall prefix:
just gui/ uninstall '{{prefix}}'
just cli/ uninstall '{{prefix}}'
format:
just android/ format
just cli/ format
just gui/ format
just lib/ format
just lib_protobuf/ format
just web/ format
format-check:
just android/ format-check
just cli/ format-check
just gui/ format-check
just lib/ format-check
just lib_protobuf/ format-check
just web/ format-check