add tests to ci
This commit is contained in:
parent
286b948ab2
commit
cb75d9148a
5
Makefile
5
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
|
2
go.mod
2
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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user