From 02a5c47a2713e14084eb8eba3aef49bb8d2a73c8 Mon Sep 17 00:00:00 2001 From: Sooty <7614538+SootyOwl@users.noreply.github.com> Date: Tue, 21 Oct 2025 20:05:15 +0100 Subject: [PATCH] feat(Makefile): add initial Makefile with help and run-inspector targets - Introduce a Makefile to streamline project commands - Add help target to display available commands - Include run-inspector target for running the MCP inspector --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d38ee5d --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: help +.DEFAULT_GOAL := help + +# initialise .env file for all targets if it exists +-include .env + +help: ## Show this help. + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +# Document each target that should appear in help using a comment placed after the target's colon, starting with '##' (as shown above). +# Targets without such a comment will not appear in the help output. + +run-inspector: ## Run the MCP inspector. + @npx @modelcontextprotocol/inspector -e DISCORD_TOKEN=$(DISCORD_TOKEN)