mirror of
https://github.com/hanzoai/cli.git
synced 2026-11-23 10:01:04 +00:00
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
15 lines
606 B
Bash
Executable File
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
|