diff --git a/justfile b/justfile new file mode 100644 index 0000000..f879e01 --- /dev/null +++ b/justfile @@ -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