BINARY = sdns GO = go GOMOD = . .PHONY: default build test lint fmt clean run install fuzz race default: test lint build build: $(GO) build -o $(BINARY) $(GOMOD) test: $(GO) test -race -count=1 ./... lint: $(GO) vet ./... fmt: gofmt -w . clean: rm -f $(BINARY) run: build ./$(BINARY) install: $(GO) install $(GOMOD) fuzz: $(GO) test -fuzz=FuzzBuildResponse -fuzztime=30s ./internal/server/ race: $(GO) test -race -count=1 ./...