fix(ci): Fix dev-local target in the Makefile (#259)
<!-- Provide a brief summary of your changes --> Hi Folks, thanks for the great work on MCP Registry! While running it locally, I noticed a bug with the `make dev-local` command. ``` $ make dev-local go run ./cmd/registry/main.go # command-line-arguments cmd/registry/main.go:29:36: undefined: Version cmd/registry/main.go:30:34: undefined: GitCommit ``` ## Motivation and Context <!-- Why is this change needed? What problem does it solve? --> Command for running MCP Registry locally is broken. ## How Has This Been Tested? <!-- Have you tested this in a real application? Which scenarios were tested? --> ## Breaking Changes <!-- Will users need to update their code or configurations? --> ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [x] I have added appropriate error handling - [x] I have added or updated documentation as needed ## Additional context <!-- Add any other context, implementation notes, or design decisions --> cc @domdomegg @sridharavinash @tadasant Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> Co-authored-by: adam jones <adamj+git@anthropic.com>
This commit is contained in:
parent
ff3edee794
commit
35bd41a131
3 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
|
@ -58,7 +58,7 @@ dev-compose: ## Start development environment with Docker Compose (builds image
|
|||
docker compose up --build
|
||||
|
||||
dev-local: ## Run registry locally (requires MongoDB)
|
||||
go run cmd/registry/main.go
|
||||
go run ./cmd/registry
|
||||
|
||||
# Cleanup
|
||||
clean: ## Clean build artifacts and coverage files
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ echo "=================================================="
|
|||
echo "This script expects the MCP Registry server to be running locally."
|
||||
echo "Please ensure the server is started using one of the following methods:"
|
||||
echo " • Docker Compose: docker compose up"
|
||||
echo " • Direct execution: go run cmd/registry/main.go"
|
||||
echo " • Direct execution: go run ./cmd/registry"
|
||||
echo " • Built binary: ./build/registry"
|
||||
echo "=================================================="
|
||||
echo ""
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ echo "=================================================="
|
|||
echo "This script expects the MCP Registry server to be running locally."
|
||||
echo "Please ensure the server is started using one of the following methods:"
|
||||
echo " • Docker Compose: docker compose up"
|
||||
echo " • Direct execution: go run cmd/registry/main.go"
|
||||
echo " • Direct execution: go run ./cmd/registry"
|
||||
echo " • Built binary: ./build/registry"
|
||||
echo ""
|
||||
echo "REQUIRED: Set the BEARER_TOKEN environment variable with a valid GitHub token"
|
||||
|
|
|
|||
Loading…
Reference in a new issue