Skip to content

Commit 8cabd57

Browse files
committed
Fix build
1 parent 11eaedf commit 8cabd57

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

Makefile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
# Binaries will be built into the ./bin directory
2-
.PHONY: all mcp-client openapi-mcp clean
2+
all:: bin/openapi-mcp
33

4-
all: bin/mcp-client bin/openapi-mcp
5-
6-
bin/mcp-client: $(shell find pkg -type f -name '*.go') $(shell find cmd/mcp-client -type f -name '*.go')
7-
@mkdir -p bin
8-
go build -o bin/mcp-client ./cmd/mcp-client
9-
10-
bin/openapi-mcp: $(shell find pkg -type f -name '*.go') $(shell find cmd/openapi-mcp -type f -name '*.go')
4+
bin/openapi-mcp:: $(shell find pkg -type f -name '*.go') $(shell find cmd/openapi-mcp -type f -name '*.go')
115
@mkdir -p bin
126
go build -o bin/openapi-mcp ./cmd/openapi-mcp
137

14-
test:
8+
test::
159
go test ./...
1610

17-
clean:
18-
rm -f bin/mcp-client bin/openapi-mcp
11+
clean::
12+
rm -f bin/openapi-mcp

0 commit comments

Comments
 (0)