Files
cli/scripts/e2e-installed.sh
zeekay a06d554dbc rescue: snapshot of orphaned worktree /home/z/work/hanzo/cli-installer-release
Parent checkout /home/z/work/hanzo/cli was deleted; this is the surviving working tree
(worktree .git admin dir lost). Base: db59227825 (2026-10-21).
Omitted (secret/size screen): 0 file(s).

Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV
2026-11-20 23:14:35 -08:00

15 lines
606 B
Bash
Executable File

#!/bin/sh
set -eu
: "${HANZO_E2E_TOKEN:?Set HANZO_E2E_TOKEN using hanzo auth token}"
e2e_dir=$(mktemp -d)
trap 'rm -rf "$e2e_dir"' EXIT HUP INT TERM
curl -fsSL https://hanzo.sh -o "$e2e_dir/install.sh"
sh "$e2e_dir/install.sh" --dir "$e2e_dir/bin" hanzo dev gen mcp
for tool in hanzo hanzo-cli dev gen hanzo-mcp; do
"$e2e_dir/bin/$tool" --version
done
[ "$("$e2e_dir/bin/hanzo" --version)" = "$("$e2e_dir/bin/hanzo-cli" --version)" ]
PATH="$e2e_dir/bin:$PATH" HANZO_E2E_BIN="$e2e_dir/bin/hanzo"
export PATH HANZO_E2E_BIN
cargo test --locked --test production -- --ignored --nocapture --test-threads=1