2021-03-26 23:25:45 +00:00
|
|
|
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
|
|
|
|
|
2021-04-02 10:34:09 +00:00
|
|
|
coverage:
|
|
|
|
cargo tarpaulin -o Html -t 120 --all-features
|
|
|
|
${BROWSER} tarpaulin-report.html
|
|
|
|
|
2021-03-26 23:25:45 +00:00
|
|
|
doc: clean
|
|
|
|
cargo doc --no-deps --open -v
|
|
|
|
|
|
|
|
expand:
|
2021-03-27 00:16:00 +00:00
|
|
|
cargo expand --lib ftw_node_type
|
2021-03-26 23:25:45 +00:00
|
|
|
|
|
|
|
format:
|
|
|
|
cargo fmt --all -- --check
|
|
|
|
|
|
|
|
list-node-types:
|
|
|
|
godot-headless --gdnative-generate-json-api api.json
|
|
|
|
cat api.json | jq '.[] | .name' | tr -d '"' | sort | uniq
|
|
|
|
rm api.json
|
|
|
|
|
|
|
|
outdated:
|
|
|
|
cargo outdated -R
|
|
|
|
|
|
|
|
publish: clean format check test
|
|
|
|
cargo package
|
|
|
|
cargo publish
|
|
|
|
|
|
|
|
shell:
|
|
|
|
nix-shell -p openssl pkgconfig
|
|
|
|
|
|
|
|
test:
|
|
|
|
cargo test
|
2021-03-27 00:16:00 +00:00
|
|
|
|
|
|
|
udeps:
|
|
|
|
cargo udeps
|