2026-07-09 02:59:53 +03:00
|
|
|
# HCIE-Rust v3 — Egui Build Commands
|
|
|
|
|
# ===================================
|
|
|
|
|
#
|
|
|
|
|
# Usage:
|
|
|
|
|
# make dev egui dev (native OpenGL window)
|
|
|
|
|
# make build egui release binary
|
|
|
|
|
# make check cargo check
|
|
|
|
|
# make test run tests
|
|
|
|
|
# make lint cargo clippy
|
|
|
|
|
|
|
|
|
|
.PHONY: dev build check test lint help
|
|
|
|
|
|
|
|
|
|
# ── Development ────────────────────────────────────────────────────────────
|
|
|
|
|
|
|
|
|
|
dev:
|
|
|
|
|
@echo "▶ HCIE Egui — Dev Mode"
|
2026-07-21 04:25:23 +03:00
|
|
|
../scripts/cargo-with-build-id.sh run -p hcie-gui-egui
|
2026-07-09 02:59:53 +03:00
|
|
|
|
|
|
|
|
# ── Production Builds ──────────────────────────────────────────────────────
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
@echo "▶ HCIE Egui — Release Build"
|
2026-07-21 04:25:23 +03:00
|
|
|
../scripts/cargo-with-build-id.sh build --release -p hcie-gui-egui
|
2026-07-09 02:59:53 +03:00
|
|
|
@echo "→ Binary: target/release/hcie-gui"
|
|
|
|
|
|
|
|
|
|
# ── Validation ─────────────────────────────────────────────────────────────
|
|
|
|
|
|
|
|
|
|
check:
|
2026-07-21 04:25:23 +03:00
|
|
|
../scripts/cargo-with-build-id.sh check --workspace
|
2026-07-09 02:59:53 +03:00
|
|
|
|
|
|
|
|
test:
|
2026-07-21 04:25:23 +03:00
|
|
|
../scripts/cargo-with-build-id.sh test --workspace
|
2026-07-09 02:59:53 +03:00
|
|
|
|
|
|
|
|
lint:
|
2026-07-21 04:25:23 +03:00
|
|
|
../scripts/cargo-with-build-id.sh clippy --workspace -- --deny warnings
|
2026-07-09 02:59:53 +03:00
|
|
|
|
|
|
|
|
help:
|
|
|
|
|
@echo "HCIE-Rust v3 — Egui Commands:"
|
|
|
|
|
@echo " make dev — Egui dev (native OpenGL)"
|
|
|
|
|
@echo " make build — Egui release binary"
|
|
|
|
|
@echo " make check — cargo check"
|
|
|
|
|
@echo " make test — run tests"
|
|
|
|
|
@echo " make lint — cargo clippy"
|