ci config

This commit is contained in:
Laurent Le Houerou 2020-10-26 14:17:07 +04:00
parent edb2ca9757
commit 334ef340ae
2 changed files with 3 additions and 6 deletions

View File

@ -29,7 +29,7 @@ dep: ## Get the dependencies
@go get -v -d ./... @go get -v -d ./...
build: dep ## Build the binary file build: dep ## Build the binary file
@go build -i -v $(PKG) @go build -i -v $(PKG)/cmd/dnsupdater
clean: ## Remove previous build clean: ## Remove previous build
@rm -f $(PROJECT_NAME) @rm -f $(PROJECT_NAME)

View File

@ -9,12 +9,10 @@ import (
"path" "path"
"time" "time"
"gitlab.lehouerou.net/laurent/dnsupdater/internal/outboundip/ddwrt"
"gitlab.lehouerou.net/laurent/dnsupdater/internal/outboundip"
"gitlab.lehouerou.net/laurent/dnsupdater/internal/config" "gitlab.lehouerou.net/laurent/dnsupdater/internal/config"
"gitlab.lehouerou.net/laurent/dnsupdater/internal/dns/gandi" "gitlab.lehouerou.net/laurent/dnsupdater/internal/dns/gandi"
"gitlab.lehouerou.net/laurent/dnsupdater/internal/outboundip"
"gitlab.lehouerou.net/laurent/dnsupdater/internal/outboundip/ddwrt"
"golang.org/x/xerrors" "golang.org/x/xerrors"
@ -24,7 +22,6 @@ import (
"github.com/dghubble/sling" "github.com/dghubble/sling"
"github.com/matryer/try" "github.com/matryer/try"
"github.com/urfave/cli" "github.com/urfave/cli"
"gopkg.in/gomail.v2"
) )
var ( var (