mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-04-21 23:47:57 +00:00
Add justfile (#166)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
_default:
|
||||
just --list
|
||||
|
||||
# Run rustfmt and ensure the code meets the expectation of the checks in the CI
|
||||
format:
|
||||
cargo +nightly fmt --all
|
||||
|
||||
# Run basic checks similar to what the CI does to ensure your code is fine
|
||||
check:
|
||||
cargo +nightly fmt --all -- --check
|
||||
cargo +stable clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
# Run the tests
|
||||
test:
|
||||
cargo test --all-features
|
||||
|
||||
# So you are ready? This runs format, check and test
|
||||
ready: format check test
|
||||
Reference in New Issue
Block a user