aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-18 04:06:22 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-18 04:06:22 +0300
commitb7a504b35e54e68ca7aceb01d21f066124f7a536 (patch)
treec92476a08a64d36a5a1a1d4f83125725ed238e6b /justfile
parent36b4001f4526b60f1c9b67a4a34596e5ad2bcca1 (diff)
chore: add windows target lint to local check
Diffstat (limited to 'justfile')
-rw-r--r--justfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/justfile b/justfile
index 26f6b8ed..d0a3ee43 100644
--- a/justfile
+++ b/justfile
@@ -18,8 +18,13 @@ lint:
ci filter='all()': lint
cargo nextest run --locked -E "{{filter}}" --status-level fail --final-status-level slow --failure-output final --success-output never
-# Check formatting + run unit tests + maintenance script tests
-check: ci
+# Run Windows target lint from Unix/macOS to catch cfg(windows) compile and clippy failures before CI
+windows-lint:
+ rustup target add x86_64-pc-windows-msvc
+ LIBGHOSTTY_VT_SIMD=false cargo clippy --bin herdr --locked --target x86_64-pc-windows-msvc -- -D warnings
+
+# Check formatting + run unit tests + Windows target lint + maintenance script tests
+check: ci windows-lint
python3 -m unittest scripts.test_agent_detection_manifest_check scripts.test_changelog scripts.test_preview scripts.test_vendor_libghostty_vt
@echo "docs reminder: if this changes user-facing behavior, make sure the relevant release docs are updated or called out before release."