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
1 changed files with 5 additions and 5 deletions
4
Makefile
4
Makefile
|
|
@ -7,7 +7,7 @@ help: ## Show this help message
|
|||
|
||||
# Build targets
|
||||
build: ## Build the registry application
|
||||
go build ./cmd/registry
|
||||
go build -o bin/registry ./cmd/registry
|
||||
|
||||
publisher: ## Build the publisher tool
|
||||
cd tools/publisher && ./build.sh
|
||||
|
|
@ -62,7 +62,7 @@ dev-local: ## Run registry locally (requires MongoDB)
|
|||
|
||||
# Cleanup
|
||||
clean: ## Clean build artifacts and coverage files
|
||||
rm -f registry
|
||||
rm -rf bin
|
||||
rm -f coverage.out coverage.html
|
||||
cd tools/publisher && rm -f publisher
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue