From 2778411b6cc31ff804655753c2dee3efe78ad413 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 11 Sep 2026 15:35:35 +0300 Subject: chore: add one-time windows cross-check setup --- justfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'justfile') 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] -- cgit v1.2.3