mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
- Delete entire code-rs/ directory (1796 files) — just-every/code fork is no longer needed; hanzo-dev/ is the canonical Rust workspace - Update all build scripts, CI workflows, docs, and configs to reference hanzo-dev/ instead of code-rs/ - Update binary name references: code → dev throughout - Fix hanzo-cli/index.js, hanzo.sh, README.md, dev-cli READMEs - Include pre-existing TUI improvements (theme, colors, greeting, card styles, chatwidget refactor) and build-fast.sh enhancements (symlink install, smarter crate prefix detection) - codex-rs/ (read-only upstream mirror) is untouched
18 lines
599 B
Bash
Executable File
18 lines
599 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
export CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-"$ROOT_DIR/target"}
|
|
unset GIT_DIR GIT_WORK_TREE GIT_INDEX_FILE GIT_COMMON_DIR
|
|
|
|
echo "[pre-release] building CLI (dev-fast)"
|
|
cd "$ROOT_DIR/hanzo-dev"
|
|
cargo build --locked --profile dev-fast --bin dev
|
|
|
|
echo "[pre-release] running CLI smokes (skip cargo tests)"
|
|
SKIP_CARGO_TESTS=1 CI_CLI_BIN="$CARGO_TARGET_DIR/dev-fast/dev" \
|
|
bash "$ROOT_DIR/scripts/ci-tests.sh"
|
|
|
|
echo "[pre-release] running workspace tests (nextest)"
|
|
cargo nextest run --no-fail-fast --locked
|