dnsupdater/Makefile

12 lines
346 B
Makefile
Raw Normal View History

2020-10-26 09:42:07 +00:00
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)
all: build
dep: ## Get the dependencies
@go get -v -d ./...
build: dep ## Build the binary file
@go build -i -v $(PKG)