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
This commit is contained in:
parent
bf53cc2ef4
commit
02a5c47a27
|
|
@ -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)
|
||||||
Loading…
Reference in New Issue