Skip to content

build: add Makefile for common development tasks (#28)#66

Merged
Siddhant-K-code merged 1 commit into
mainfrom
feat/28-makefile
May 2, 2026
Merged

build: add Makefile for common development tasks (#28)#66
Siddhant-K-code merged 1 commit into
mainfrom
feat/28-makefile

Conversation

@Siddhant-K-code

Copy link
Copy Markdown
Owner

Closes #28

Summary

Adds a Makefile with 20+ targets covering the full development lifecycle.

Targets

Target Description
make / make build Build the binary
make test Run all tests
make test-race Run tests with race detector
make bench Run benchmarks
make lint Run golangci-lint
make fmt Run gofmt
make vet Run go vet
make clean Remove build artifacts
make docker-build Build Docker image
make docker-run Run Docker container
make release Cross-compile for linux/darwin/windows
make help List all targets with descriptions

Files

  • Makefile — all targets with .PHONY declarations and inline help comments

Targets: build, install, clean, test, test-verbose, test-race,
test-cover, bench, fmt, vet, lint, check, docker-build, docker-run,
release-dry, release, config-init, run-api, run-serve, deps, help.

make help lists all targets with descriptions.

Co-authored-by: Ona <[email protected]>
@Siddhant-K-code Siddhant-K-code added the enhancement New feature or request label May 2, 2026
@Siddhant-K-code Siddhant-K-code merged commit 2e16c7d into main May 2, 2026
2 checks passed
@Siddhant-K-code Siddhant-K-code deleted the feat/28-makefile branch May 2, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Makefile for common development tasks

1 participant