From d16aadd03f0d3b9e9623804147fb45054144add5 Mon Sep 17 00:00:00 2001 From: Thales Maciel Date: Sat, 7 Mar 2026 14:09:14 -0300 Subject: [PATCH] Add Makefile help target --- Makefile | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 57187fb..cc21003 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,39 @@ RUNTIME_BUILD_DIR ?= build/runtime_bundle RUNTIME_BUNDLE_DIR ?= src/pyro_mcp/runtime_bundle RUNTIME_MATERIALIZED_DIR ?= build/runtime_sources -.PHONY: setup lint format typecheck test check demo network-demo doctor ollama ollama-demo run-server install-hooks runtime-bundle runtime-binaries runtime-kernel runtime-rootfs runtime-agent runtime-validate runtime-manifest runtime-sync runtime-clean runtime-fetch-binaries runtime-build-kernel-real runtime-build-rootfs-real runtime-materialize runtime-boot-check runtime-network-check +.PHONY: help setup lint format typecheck test check demo network-demo doctor ollama ollama-demo run-server install-hooks runtime-bundle runtime-binaries runtime-kernel runtime-rootfs runtime-agent runtime-validate runtime-manifest runtime-sync runtime-clean runtime-fetch-binaries runtime-build-kernel-real runtime-build-rootfs-real runtime-materialize runtime-boot-check runtime-network-check + +help: + @printf '%s\n' \ + 'Available targets:' \ + ' help Show this help message' \ + ' setup Install project dependencies' \ + ' lint Run Ruff lint checks' \ + ' format Run Ruff formatter' \ + ' typecheck Run mypy' \ + ' test Run pytest' \ + ' check Run lint, typecheck, and tests' \ + ' demo Run the deterministic VM demo' \ + ' network-demo Run the deterministic VM demo with guest networking enabled' \ + ' doctor Show runtime and host diagnostics' \ + ' ollama-demo Run the network-enabled Ollama lifecycle demo' \ + ' run-server Run the MCP server' \ + ' install-hooks Install pre-commit hooks' \ + ' runtime-bundle Rebuild and sync the packaged runtime bundle' \ + ' runtime-binaries Stage runtime binaries into the build bundle' \ + ' runtime-kernel Stage kernel artifacts into the build bundle' \ + ' runtime-rootfs Stage rootfs artifacts into the build bundle' \ + ' runtime-agent Stage guest agent artifacts into the build bundle' \ + ' runtime-validate Validate runtime sources against the lockfile' \ + ' runtime-manifest Regenerate the runtime manifest in the build bundle' \ + ' runtime-sync Sync the built runtime bundle into src/' \ + ' runtime-fetch-binaries Materialize pinned upstream Firecracker binaries' \ + ' runtime-build-kernel-real Materialize the real guest kernel' \ + ' runtime-build-rootfs-real Materialize the real guest rootfs images' \ + ' runtime-materialize Run all real-source materialization steps' \ + ' runtime-boot-check Validate direct Firecracker boot from the bundled runtime' \ + ' runtime-network-check Validate outbound guest networking from the bundled runtime' \ + ' runtime-clean Remove generated runtime build artifacts' setup: uv sync --dev