Code / Makefile
Makefile
35 lines
# =============================================================================
# Project : modelmap
# File : Makefile
# Purpose : Common tasks — setup, lint, test, headers check, site build/run
# Author : Simon-Pierre Boucher
# Contact : contact@spboucher.ai
# Website : https://modelmap.io
# Created : 2026-08-12
# Modified : 2026-08-12
# Platform : macOS / Apple Silicon (arm64)
# License : All rights reserved (research code)
# =============================================================================
.PHONY: setup lint test headers site-sync site-run site-deps
setup:
python3 -m venv .venv && .venv/bin/pip install -e ".[dev]"
lint:
.venv/bin/ruff check src tools benchmarks tests experiments
test:
.venv/bin/pytest -q
headers:
python3 tools/check_headers.py
site-deps:
cd site && npm install
site-sync:
site/sync-content.sh
site-run: site-sync
cd site && PORT=8140 node server.js