Skip to content

Commit ac0e9c2

Browse files
committed
add justfile
Signed-off-by: Benno Lossin <lossin@kernel.org>
1 parent e7a5b50 commit ac0e9c2

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

justfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
check:
2+
cargo check --all-targets
3+
4+
ui-tests:
5+
RUSTFLAGS="--cfg UI_TESTS" cargo test
6+
7+
update-all-ui-tests:
8+
TRYBUILD=overwrite MACROTEST=overwrite RUSTFLAGS="--cfg UI_TESTS" cargo test
9+
10+
update-expand-ui-tests:
11+
MACROTEST=overwrite RUSTFLAGS="--cfg UI_TESTS" cargo test
12+
13+
update-compile-fail-ui-tests:
14+
TRYBUILD=overwrite RUSTFLAGS="--cfg UI_TESTS" cargo test

to-kernel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ git am \
6969
--exclude="rust/pin-init/flake.lock" \
7070
--exclude="rust/pin-init/Cargo.toml" \
7171
--exclude="rust/pin-init/Cargo.lock" \
72+
--exclude="rust/pin-init/justfile" \
7273
--exclude="rust/pin-init/build.rs" \
7374
--exclude="rust/pin-init/.clippy.toml" \
7475
--exclude="rust/pin-init/.github/*" \

0 commit comments

Comments
 (0)