Files
dev/hanzo-dev/Makefile
T
zeekay dd1553bcf1 fix: BackgroundEvent tag bug, TUI branding, and build system
- Fix crash: history_push_top_next_req() now uses correct tag based on
  cell type (BackgroundEvent requires "background" tag, not "prelude")
- Canonicalize branding to lowercase "hanzo dev" in all animations
- Add Makefile with build, fast-build, install targets
- Update CLI name to "hanzo dev" in clap config
- Add monochrome theme support and color helpers
2026-01-23 02:39:04 -08:00

34 lines
733 B
Makefile

.PHONY: build fast-build install clean
# Release build (slow, optimized, LTO)
build:
cargo build --release -p hanzo-dev
@echo "Built release binary at target/release/dev"
# Fast development build (quick iteration)
fast-build:
cargo build --profile dev-fast -p hanzo-dev
@echo "Built dev-fast binary at target/dev-fast/dev"
# Install to ~/.cargo/bin (primary PATH location)
install: fast-build
cp target/dev-fast/dev ~/.cargo/bin/dev
@~/.cargo/bin/dev --version
# Install release build
install-release: build
cp target/release/dev ~/.cargo/bin/dev
@~/.cargo/bin/dev --version
# Clean build artifacts
clean:
cargo clean
# Run tests
test:
cargo test --workspace
# Check without building
check:
cargo check --workspace