PROJECT_NAME := "dnsupdater" PKG := "gitlab.lehouerou.net/laurent/$(PROJECT_NAME)" PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/) GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/ | grep -v _test.go) .PHONY: all dep build all: build test: @go test ./... build: test ## Build the binary file @go build -i -v $(PKG)/cmd/dnsupdater