diff options
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 |
