-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
58 lines (42 loc) · 942 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
46
47
48
49
50
51
52
53
54
55
56
57
58
all:
cargo build
audit:
cargo audit
bloat:
cargo bloat --release -n 10
cargo bloat --release --crates
cargo bloat --release --filter '^__' -n 10
build:
cargo build
build-release: clean
cargo build --release
check:
cargo check
cargo clippy --release -- -Dclippy::all -Wclippy::pedantic
clean:
cargo clean
coverage:
rm -rf game*
cargo tarpaulin --all-features --ignore-tests -o Html -t 300 -- --test-threads=1
${BROWSER} tarpaulin-report.html
doc: clean
cargo doc --no-deps --open -v
expand:
cargo expand --lib ftw_node_type
format:
cargo fmt --all -- --check
list-node-types:
godot3-headless --gdnative-generate-json-api api.json
cat api.json | jq '.[] | .name' | tr -d '"' | tr -d "_" | sort | uniq
rm api.json
outdated:
cargo outdated -R
publish: clean format check test
cargo package
cargo publish
shell:
nix-shell -p clang openssl pkg-config
test:
cargo test -- --test-threads=1
udeps:
cargo udeps