mirror of
https://github.com/nukesor/pueue
synced 2024-10-01 13:34:07 +00:00
add: Justfile
This commit is contained in:
parent
1f3d840c5e
commit
0ee10493dc
19
Justfile
Normal file
19
Justfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Bump all deps, including incompatible version upgrades
|
||||
bump:
|
||||
just ensure_installed upgrade
|
||||
cargo update
|
||||
cargo upgrade --incompatible
|
||||
cargo test --workspace
|
||||
|
||||
# Run the test suite with nexttest
|
||||
nextest:
|
||||
just ensure_installed nextest
|
||||
cargo nextest run --workspace
|
||||
|
||||
ensure_installed *args:
|
||||
#!/bin/bash
|
||||
cargo --list | grep -q {{ args }}
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "error: cargo-{{ args }} is not installed"
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in a new issue