mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 22:27:03 +05:30
chore(just): add justfile
This commit is contained in:
parent
5d1d59954d
commit
bbd8f42f88
1 changed files with 27 additions and 0 deletions
27
justfile
Normal file
27
justfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue