-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (19 loc) · 872 Bytes
/
Makefile
File metadata and controls
28 lines (19 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: install install-cpu client doctor run clean test test-cov
install: ## Auto-detect GPU and install everything
bash install.sh
install-cpu: ## Install for CPU-only
bash install.sh --cpu
client: ## Build Angular frontend
cd client && npm ci && npx ng build
doctor: ## Run diagnostic checks
python facet.py --doctor
run: ## Start the web viewer
python viewer.py
clean: ## Remove venv and build artifacts
rm -rf venv client/dist client/node_modules
test: ## Run Python test suite
python3 -m pytest
test-cov: ## Run tests with coverage report
python3 -m pytest --cov=api --cov=config --cov=storage --cov-report=term-missing
help: ## Show available targets
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-14s\033[0m %s\n", $$1, $$2}'