mirror of
https://github.com/ruvnet/RuView.git
synced 2026-08-26 02:04:55 +00:00
fix(build): repoint stale Makefile targets to v2/ and archive/v1/ (#1201)
The root Makefile still referenced pre-reorg paths that no longer exist, so the documented build/test/run entrypoints were all broken: - rust-port/wifi-densepose-rs/ -> v2/ (build-rust, build-wasm[-mat], test-rust, bench, clean cargo step) - v1.src.api.main -> archive.v1.src.api.main (run-api, run-api-dev) test-rust now uses the documented `--no-default-features` invocation (the proven-passing, GPU-free path). Verified: `cd v2 && cargo test --workspace --no-default-features --no-run` compiles the full workspace clean. Surfaced during a metaharness review (the broken root build entrypoint is why genome reported build:none / publish_readiness 0.40 at the repo root). Claude-Session: https://claude.ai/code/session_01AgpTcBLRJ32hUsKWxDXf36
This commit is contained in:
16
Makefile
16
Makefile
@@ -51,26 +51,26 @@ verify-audit:
|
|||||||
|
|
||||||
# ─── Rust Builds ─────────────────────────────────────────────
|
# ─── Rust Builds ─────────────────────────────────────────────
|
||||||
build-rust:
|
build-rust:
|
||||||
cd rust-port/wifi-densepose-rs && cargo build --release
|
cd v2 && cargo build --release
|
||||||
|
|
||||||
build-wasm:
|
build-wasm:
|
||||||
cd rust-port/wifi-densepose-rs && wasm-pack build crates/wifi-densepose-wasm --target web --release
|
cd v2 && wasm-pack build crates/wifi-densepose-wasm --target web --release
|
||||||
|
|
||||||
build-wasm-mat:
|
build-wasm-mat:
|
||||||
cd rust-port/wifi-densepose-rs && wasm-pack build crates/wifi-densepose-wasm --target web --release -- --features mat
|
cd v2 && wasm-pack build crates/wifi-densepose-wasm --target web --release -- --features mat
|
||||||
|
|
||||||
test-rust:
|
test-rust:
|
||||||
cd rust-port/wifi-densepose-rs && cargo test --workspace
|
cd v2 && cargo test --workspace --no-default-features
|
||||||
|
|
||||||
bench:
|
bench:
|
||||||
cd rust-port/wifi-densepose-rs && cargo bench --package wifi-densepose-signal
|
cd v2 && cargo bench --package wifi-densepose-signal
|
||||||
|
|
||||||
# ─── Run ─────────────────────────────────────────────────────
|
# ─── Run ─────────────────────────────────────────────────────
|
||||||
run-api:
|
run-api:
|
||||||
uvicorn v1.src.api.main:app --host 0.0.0.0 --port 8000
|
uvicorn archive.v1.src.api.main:app --host 0.0.0.0 --port 8000
|
||||||
|
|
||||||
run-api-dev:
|
run-api-dev:
|
||||||
uvicorn v1.src.api.main:app --host 0.0.0.0 --port 8000 --reload
|
uvicorn archive.v1.src.api.main:app --host 0.0.0.0 --port 8000 --reload
|
||||||
|
|
||||||
run-viz:
|
run-viz:
|
||||||
python3 -m http.server 3000 --directory ui
|
python3 -m http.server 3000 --directory ui
|
||||||
@@ -81,7 +81,7 @@ run-docker:
|
|||||||
# ─── Clean ───────────────────────────────────────────────────
|
# ─── Clean ───────────────────────────────────────────────────
|
||||||
clean:
|
clean:
|
||||||
rm -f .install.log
|
rm -f .install.log
|
||||||
cd rust-port/wifi-densepose-rs && cargo clean 2>/dev/null || true
|
cd v2 && cargo clean 2>/dev/null || true
|
||||||
|
|
||||||
# ─── Help ────────────────────────────────────────────────────
|
# ─── Help ────────────────────────────────────────────────────
|
||||||
help:
|
help:
|
||||||
|
|||||||
Reference in New Issue
Block a user