This commit is contained in:
Juno Takano 2025-12-13 20:52:14 -03:00
commit 5851399420
2 changed files with 9 additions and 10 deletions

View file

@ -74,10 +74,17 @@ alias rb := release-build
# Lint, check formatting and run tests
[group('checks')]
check: lint format-check test
check: format-check lint cargo-check test
alias c := check
# Run cargo check
[group('checks')]
cargo-check:
cargo check --workspace
alias cc := cargo-check
# Lint with Clippy
[group('checks')]
lint:
@ -94,7 +101,7 @@ alias fc := format-check
# Run tests
[group('checks')]
test: build
test:
cargo test
alias t := test

View file

@ -84,11 +84,3 @@ async fn main() {
}
}
}
#[cfg(test)]
mod tests {
#[test]
fn fail() {
assert_eq!(0_i32, 1_i32);
}
}