chore(just): add justfile

This commit is contained in:
Harsh Shandilya 2022-07-14 03:00:14 +05:30
parent 5d1d59954d
commit bbd8f42f88
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

27
justfile Normal file
View file

@ -0,0 +1,27 @@
alias b := build
alias c := check
alias cl := clippy
alias f := fmt
alias r := run
alias t := test
set positional-arguments := true
set dotenv-load := true
build type="":
cargo build {{ type }}
check type="":
cargo check {{ type }}
clippy flags="":
cargo clippy -- {{ flags }}
fmt:
cargo fmt
run type="":
cargo run {{ type }}
test:
cargo nextest run