aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-09-11 15:35:35 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-09-11 15:35:35 +0300
commit2778411b6cc31ff804655753c2dee3efe78ad413 (patch)
tree9955c3b5d7ff40cd552e0b2b84d402aceaa3539c /justfile
parent03457913816b0e22e5fb7de5c83d199ee5ae7c51 (diff)
chore: add one-time windows cross-check setup
Diffstat (limited to 'justfile')
-rw-r--r--justfile10
1 files changed, 7 insertions, 3 deletions
diff --git a/justfile b/justfile
index 0dcce374..74e17848 100644
--- a/justfile
+++ b/justfile
@@ -13,7 +13,7 @@ test:
# Run repository maintenance contract tests
maintenance-test:
- {{python}} -m unittest scripts.test_agent_detection_manifest_check scripts.test_changelog scripts.test_config_reference_check scripts.test_docs_translation_parity scripts.test_hermes_integration_asset scripts.test_package_windows_conpty scripts.test_preview scripts.test_unix_installer scripts.test_vendor_libghostty_vt scripts.test_vendor_portable_pty
+ {{python}} -m unittest scripts.test_agent_detection_manifest_check scripts.test_changelog scripts.test_config_reference_check scripts.test_docs_translation_parity scripts.test_hermes_integration_asset scripts.test_package_windows_conpty scripts.test_preview scripts.test_unix_installer scripts.test_vendor_libghostty_vt scripts.test_vendor_portable_pty scripts.test_windows_cross
# Run one nextest filter, e.g. `just test-one codex_stale_working`
test-one filter:
@@ -41,11 +41,15 @@ ci filter='all()': lint
just ui-hot-path-architecture-test
just integration-assets-test
+# Download the Windows SDK once (requires xwin; prompts for Microsoft's SDK license)
+[unix]
+setup-windows-cross *args:
+ {{python}} scripts/windows_cross.py setup {{args}}
+
# Run Windows target lint from Unix/macOS to catch cfg(windows) compile and clippy failures before CI
[unix]
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
+ {{python}} scripts/windows_cross.py lint
# Check formatting + run unit tests + Windows target lint + documentation contract tests
[unix]