mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-18 16:24:38 +00:00
14 lines
687 B
Bash
14 lines
687 B
Bash
#!/usr/bin/env bash
|
|
# Restore both runtime feature configurations, docs and ordinary example linking, without fuzz caps.
|
|
set -euo pipefail
|
|
unset CRAFT_HOSTILE_DIVISOR PROPTEST_CASES
|
|
if [ "${RUNNER_OS:-}" = Windows ]; then
|
|
powershell.exe -NoProfile -Command '$ErrorActionPreference = "Stop"; Start-Service Spooler; Add-PrinterDriver -Name "Generic / Text Only"'
|
|
fi
|
|
cargo fmt --check
|
|
cargo clippy --workspace --all-targets --locked -- -D warnings
|
|
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
|
|
# cargo test includes docs and ordinary example linking, as required by AGENTS.md.
|
|
cargo test --workspace --locked
|
|
cargo test --workspace --all-features --locked
|