-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6295a66
commit 1e24fc5
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
export RUSTDOCFLAGS := "-D warnings" | ||
|
||
# Run all tests, including end-to-end export validation tests. | ||
# | ||
# This command is designed to be used regularly during CAD kernel development. | ||
# It runs tests to check for code correctness, but accepts warnings in the code | ||
# and does not check formatting or documentation. | ||
# | ||
# For a full build that mirrors the CI build, see `just ci`. | ||
test: | ||
cargo test --all-features | ||
cargo run --package export-validator | ||
|
||
# Run a full build that mirrors the CI build | ||
# | ||
# Basically, if this passes locally, then the CI build should pass too, once you | ||
# submit your work as a pull request. Please note that the CI build is | ||
# maintained separately from this file. Most deviations in behavior should | ||
# probably be considered a bug in this file. | ||
ci: | ||
ci: test | ||
cargo fmt --check | ||
cargo clippy --all-features -- -D warnings | ||
cargo test --all-features | ||
cargo doc --no-deps --document-private-items --all-features --workspace | ||
cargo run --package cross-compiler | ||
cargo run --package export-validator |