diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-07-27 13:15:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-27 14:15:23 +0300 |
| commit | 6d1bedee3ee164ed0151f8adab1313be5915d652 (patch) | |
| tree | f7c524094e2d39327ff9615993e4ae6b563ed80f /justfile | |
| parent | dc2506ea8cb58fc8cde7ceb357cad03b1aba0da1 (diff) | |
fix: make native windows checks reliable (#1925)
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -12,26 +12,40 @@ test-one filter: cargo nextest run --locked "{{filter}}" --status-level fail --final-status-level fail --failure-output final --success-output never # Run fast local lint checks +[unix] lint: cargo fmt --check cargo clippy --all-targets --locked -- -D warnings +[script("powershell.exe", "-NoProfile", "-ExecutionPolicy", "Bypass", "-File")] +[windows] +lint: + & .\scripts\windows_check.ps1 -Mode lint + # Run PR CI checks +[unix] ci filter='all()': lint cargo nextest run --locked -E "{{filter}}" --status-level fail --final-status-level slow --failure-output final --success-output never just integration-assets-test just plugin-marketplace-test # 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 # Check formatting + run unit tests + Windows target lint + maintenance script tests +[unix] check: ci windows-lint python3 -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_vendor_libghostty_vt scripts.test_vendor_portable_pty @echo "docs reminder: if this changes user-facing behavior, make sure the relevant release docs are updated or called out before release." +[script("powershell.exe", "-NoProfile", "-ExecutionPolicy", "Bypass", "-File")] +[windows] +check: + & .\scripts\windows_check.ps1 -Mode check + # Install repo-local git hooks install-hooks: git config core.hooksPath .githooks |
