Remove tracked binaries and fix build output directory (#248)
## Summary - Remove registry binary from git tracking - Update Makefile to output binaries to bin/ directory - Fix .gitignore to properly exclude bin/ directory and all binaries This follows Go best practices by placing all compiled binaries in the bin/ directory.
This commit is contained in:
parent
3a0920a578
commit
1a6dc930b3
3 changed files with 5 additions and 5 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,9 +1,9 @@
|
||||||
build/*
|
build/
|
||||||
|
bin/
|
||||||
|
|
||||||
.db
|
.db
|
||||||
.env
|
.env
|
||||||
.mcpregistry*
|
.mcpregistry*
|
||||||
**/bin
|
|
||||||
cmd/registry/registry
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
validate-examples
|
validate-examples
|
||||||
validate-schemas
|
validate-schemas
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -7,7 +7,7 @@ help: ## Show this help message
|
||||||
|
|
||||||
# Build targets
|
# Build targets
|
||||||
build: ## Build the registry application
|
build: ## Build the registry application
|
||||||
go build ./cmd/registry
|
go build -o bin/registry ./cmd/registry
|
||||||
|
|
||||||
publisher: ## Build the publisher tool
|
publisher: ## Build the publisher tool
|
||||||
cd tools/publisher && ./build.sh
|
cd tools/publisher && ./build.sh
|
||||||
|
|
@ -62,7 +62,7 @@ dev-local: ## Run registry locally (requires MongoDB)
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
clean: ## Clean build artifacts and coverage files
|
clean: ## Clean build artifacts and coverage files
|
||||||
rm -f registry
|
rm -rf bin
|
||||||
rm -f coverage.out coverage.html
|
rm -f coverage.out coverage.html
|
||||||
cd tools/publisher && rm -f publisher
|
cd tools/publisher && rm -f publisher
|
||||||
|
|
||||||
|
|
|
||||||
BIN
registry
BIN
registry
Binary file not shown.
Loading…
Reference in a new issue