返回 CodeWhale
check-portable-session.sh
根目录 / scripts / check-portable-session.sh
1 #!/bin/sh
2 # Compile the complete actual group; separate processes run strictly sequentially.
3 set -eu
4 cd "$(dirname "$0")/.."
5 graph=$(mktemp)
6 trap 'rm -f "$graph"' EXIT HUP INT TERM
7 cargo tree --locked -p codewhale-portable-session --edges normal --target all --prefix none > "$graph"
8 cat "$graph"
9 python3 scripts/check-command-session-proof.py --graph "$graph"
10 cargo check --locked -p codewhale-portable-session --lib --no-default-features
11 sh scripts/with-hermetic-test-home.sh cargo nextest run -p codewhale-portable-session --lib --all-features --locked --profile ci --no-tests=fail
12
12 lines BASH