Skip to content

Commit d855b35

Browse files
committed
build: update mcphost/inspector targets to depend on build
Signed-off-by: TJ Hoplock <[email protected]>
1 parent e8f4688 commit d855b35

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fmt:
2323
## lint: run linters
2424
lint:
2525
mkdir -p ${GOLANGCILINT_CACHE} || true
26+
# convert this to use golangic-lint from devbox, rather than podman
2627
podman run --rm -v ${CURDIR}:/app -v ${GOLANGCILINT_CACHE}:/root/.cache -w /app docker.io/golangci/golangci-lint:latest golangci-lint run -v
2728

2829
## binary: build a binary
@@ -50,11 +51,11 @@ podman: container
5051
docker: container
5152

5253
## mcphost: use mcphost to run the prometheus-mcp-server against a local ollama model
53-
mcphost:
54+
mcphost: build
5455
mcphost --debug --config ./mcp.json --model "${OLLAMA_MODEL}"
5556

5657
## inspector: use inspector to run the prometheus-mcp-server
57-
inspector:
58+
inspector: build
5859
npx @modelcontextprotocol/inspector --config ./mcp.json --server "${BINARY}"
5960

6061
## open-webui: use open-webui to run the prometheus-mcp-server

0 commit comments

Comments
 (0)