Skip to content

Commit 1a6dc93

Browse files
authored
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.
1 parent 3a0920a commit 1a6dc93

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
build/*
1+
build/
2+
bin/
3+
24
.db
35
.env
46
.mcpregistry*
5-
**/bin
6-
cmd/registry/registry
77
.DS_Store
88
validate-examples
99
validate-schemas

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ help: ## Show this help message
77

88
# Build targets
99
build: ## Build the registry application
10-
go build ./cmd/registry
10+
go build -o bin/registry ./cmd/registry
1111

1212
publisher: ## Build the publisher tool
1313
cd tools/publisher && ./build.sh
@@ -62,7 +62,7 @@ dev-local: ## Run registry locally (requires MongoDB)
6262

6363
# Cleanup
6464
clean: ## Clean build artifacts and coverage files
65-
rm -f registry
65+
rm -rf bin
6666
rm -f coverage.out coverage.html
6767
cd tools/publisher && rm -f publisher
6868

registry

-28.9 MB
Binary file not shown.

0 commit comments

Comments
 (0)