mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
- 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
34 lines
733 B
Makefile
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
|