From ee3e1e7cd9799295fcc9361454912ca36106c861 Mon Sep 17 00:00:00 2001 From: Benno Lossin Date: Tue, 24 Feb 2026 09:27:30 +0100 Subject: [PATCH] add justfile Signed-off-by: Benno Lossin --- justfile | 8 ++++++++ to-kernel.sh | 1 + 2 files changed, 9 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 00000000..d15b78a8 --- /dev/null +++ b/justfile @@ -0,0 +1,8 @@ +check: + cargo check --all-targets + +ui-tests: + RUSTFLAGS="--cfg UI_TESTS" cargo test + +bless-ui-tests: + TRYBUILD=overwrite MACROTEST=overwrite RUSTFLAGS="--cfg UI_TESTS" cargo test diff --git a/to-kernel.sh b/to-kernel.sh index f48583e5..d2b3d9da 100755 --- a/to-kernel.sh +++ b/to-kernel.sh @@ -69,6 +69,7 @@ git am \ --exclude="rust/pin-init/flake.lock" \ --exclude="rust/pin-init/Cargo.toml" \ --exclude="rust/pin-init/Cargo.lock" \ + --exclude="rust/pin-init/justfile" \ --exclude="rust/pin-init/build.rs" \ --exclude="rust/pin-init/.clippy.toml" \ --exclude="rust/pin-init/.github/*" \