fix: remove binary, add Makefile, document validators

This commit is contained in:
2026-04-10 22:04:13 -07:00
parent 4bb695ce9c
commit ae6bb19777
4 changed files with 36 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
.PHONY: build test clean install lint
BINARY_NAME=caddy-mcp-server
GO=go
GOFLAGS=-ldflags="-s -w"
build:
$(GO) build $(GOFLAGS) -o $(BINARY_NAME) .
test:
./test.sh
clean:
rm -f $(BINARY_NAME)
$(GO) clean
install: build
cp $(BINARY_NAME) $(GOPATH)/bin/
lint:
$(GO) vet ./...
gofmt -l .
dev:
$(GO) run .
all: clean build test