diff --git a/Makefile b/Makefile index f2bf764..a72de3a 100644 --- a/Makefile +++ b/Makefile @@ -7,5 +7,8 @@ GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/ | grep -v _test.go) all: build -build: ## Build the binary file +test: + @go test ./... + +build: test ## Build the binary file @go build -i -v $(PKG)/cmd/dnsupdater \ No newline at end of file diff --git a/go.mod b/go.mod index 622de3c..f398e52 100644 --- a/go.mod +++ b/go.mod @@ -11,5 +11,5 @@ require ( github.com/urfave/cli v1.20.0 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect - gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df // indirect + gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df )