|
@@ -1,5 +1,4 @@
|
|
|
# THIS FILE IS AUTOGENERATED FROM FLAKEBOX CONFIGURATION
|
|
|
-import "./misc/justfile.custom.just"
|
|
|
|
|
|
alias b := build
|
|
|
alias c := check
|
|
@@ -10,6 +9,7 @@ alias t := test
|
|
|
default:
|
|
|
@just --list
|
|
|
|
|
|
+
|
|
|
# run `cargo build` on everything
|
|
|
build *ARGS="--workspace --all-targets":
|
|
|
#!/usr/bin/env bash
|
|
@@ -31,13 +31,12 @@ check *ARGS="--workspace --all-targets":
|
|
|
|
|
|
|
|
|
# run all checks recommended before opening a PR
|
|
|
-final-check: lint clippy check-wasm
|
|
|
+final-check: lint clippy
|
|
|
#!/usr/bin/env bash
|
|
|
set -euo pipefail
|
|
|
if [ ! -f Cargo.toml ]; then
|
|
|
cd {{invocation_directory()}}
|
|
|
fi
|
|
|
- cargo test --doc
|
|
|
just test
|
|
|
|
|
|
|
|
@@ -49,7 +48,7 @@ format:
|
|
|
cd {{invocation_directory()}}
|
|
|
fi
|
|
|
cargo fmt --all
|
|
|
- nixpkgs-fmt $(echo **.nix)
|
|
|
+ nixpkgs-fmt $(git ls-files | grep "\.nix$")
|
|
|
|
|
|
|
|
|
# run lints (git pre-commit hook)
|