1
0
Fork 0
mirror of https://gitlab.com/pnx-tools/dns-updater.git synced 2026-06-16 05:54:56 +02:00
dns-updater/Makefile

11 lines
No EOL
212 B
Makefile

GO=go
GOLDFLAGS=-v -s -w
GOBUILDFLAGS=-v -p $(shell nproc) -ldflags="$(GOLDFLAGS)"
.PHONY: build test
build :
$(GO) build $(GOBUILDFLAGS) -o build/dnsupdater cmd/dnsupdater/main.go
test :
$(GO) test -v ./...