返回 CodeWhale
check-portable-core-navigation.sh
根目录 / scripts / check-portable-core-navigation.sh
1 #!/bin/sh
2 set -eu
3 cd "$(dirname "$0")/.."
4 graph=$(mktemp)
5 trap 'rm -f "$graph"' EXIT HUP INT TERM
6 cargo tree --locked -p codewhale-portable-core-navigation --edges normal --all-features --target all --prefix none > "$graph"
7 cat "$graph"
8 python3 -B scripts/check-command-core-navigation-proof.py --graph "$graph"
9 env CARGO_INCREMENTAL=0 RUSTFLAGS=-Dwarnings cargo check --locked -p codewhale-portable-core-navigation --lib --no-default-features
10 env CARGO_TERM_COLOR=always CARGO_INCREMENTAL=0 RUSTFLAGS=-Dwarnings RUST_MIN_STACK=16777216 CODEWHALE_EXT_HOST_TESTS=1 CODEWHALE_EXT_HOST_BUN_TESTS=1 sh scripts/with-hermetic-test-home.sh cargo nextest run -p codewhale-portable-core-navigation --lib --all-features --locked --profile ci --no-tests=fail
11
11 lines BASH