Files
sand-boxer/Makefile
tegwick 8e0465865a Finish SAND-WP-0002: remote smoke, podman-compose, HTTP stub
- T10 smoke passed on CoulombCore (sand-boxer self-deploy, sandbox 4e542c51)
- Add e2e smoke compose, scripts/smoke-compose-e2e.sh, make smoke-remote
- Support SANDBOXER_COMPOSE_CMD for podman-compose hosts
- FastAPI v0 stub at sandboxer.api.app; migration gaps doc
- Mark workplan finished (all 10 tasks done)
2026-06-23 16:52:29 +02:00

32 lines
842 B
Makefile

.DEFAULT_GOAL := help
.PHONY: help setup install test lint format build check cli-version smoke-remote
help: ## List available make targets
@awk 'BEGIN {FS = ":.*## "}; /^[a-zA-Z0-9_.-]+:.*## / {printf " %-16s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
setup: ## Sync dependencies into .venv
uv sync --all-groups
install: ## Install sandboxer CLI to ~/.local/bin (editable)
uv tool install -e . --force
test: ## Run the test suite
uv run pytest
lint: ## Run ruff lint checks
uv run ruff check .
format: ## Auto-format with ruff
uv run ruff format .
build: ## Build wheel and sdist
uv build
check: lint test ## Run lint and tests (CI gate)
cli-version: ## Print CLI version (smoke test for entry point)
uv run sandboxer version
smoke-remote: ## T10 remote create/destroy smoke (needs SANDBOXER_HOST)
./scripts/smoke-compose-e2e.sh