Skip to content

Commit e5c2b5b

Browse files
authored
feat: add build target to Makefile (#131)
Builds the mcp-grafana binary and puts it in 'dist'.
1 parent 2f163bc commit e5c2b5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ help: ## Print this help message.
1212
build-image: ## Build the Docker image.
1313
docker build -t mcp-grafana:latest .
1414

15+
.PHONY: build
16+
build: ## Build the binary.
17+
go build -o dist/mcp-grafana ./cmd/mcp-grafana
18+
1519
.PHONY: lint lint-jsonschema lint-jsonschema-fix
1620
lint: lint-jsonschema ## Lint the Go code.
1721
go tool -modfile go.tools.mod golangci-lint run

0 commit comments

Comments
 (0)