chore: organize justfiles

main
Jef Roosens 2025-05-17 20:10:23 +02:00
parent 6a8725489e
commit e8a92d7e07
No known key found for this signature in database
GPG Key ID: 21FD3D77D56BAF49
4 changed files with 50 additions and 27 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@ target/
# testing files
*.jar
data*/
*.log

View File

@ -1,35 +1,25 @@
[group('build')]
build pkg:
cargo build --package {{ pkg }}
build:
cargo build --frozen --workspace
alias b := build
[group('build')]
build-all:
cargo build --workspace
alias ba := build-all
[group('test')]
test pkg:
cargo test --package {{ pkg }}
test:
cargo test --frozen --workspace
alias t := test
[group('test')]
test-all:
cargo test --workspace
alias ta := test-all
[group('check')]
check pkg:
cargo fmt --check --package {{ pkg }}
cargo clippy --package {{ pkg }} -- \
check:
cargo fmt --check --all
cargo clippy \
--frozen \
--all -- \
--no-deps \
--deny 'clippy::all'
alias c := check
[group('check')]
check-all:
cargo fmt --check --all
cargo clippy --all -- \
--no-deps \
--deny 'clippy::all'
alias ca := check-all
fetch:
cargo fetch --locked
clean:
cargo clean
doc:
cargo doc --workspace --frozen

16
alex/Justfile 100644
View File

@ -0,0 +1,16 @@
build:
cargo build --frozen
alias b := build
test:
cargo test --frozen
alias t := test
check:
cargo fmt --check
cargo clippy \
--frozen \
-- \
--no-deps \
--deny 'clippy::all'
alias c := check

16
backup/Justfile 100644
View File

@ -0,0 +1,16 @@
build:
cargo build --frozen
alias b := build
test:
cargo test --frozen
alias t := test
check:
cargo fmt --check
cargo clippy \
--frozen \
-- \
--no-deps \
--deny 'clippy::all'
alias c := check