File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# the filepath to this repository, relative to $GOPATH/src
22REPO_PATH = github.com/drycc/controller-sdk-go
33
4- DEV_ENV_IMAGE := quay.io/drycc/go-dev:v0.22.0
4+ DEV_ENV_IMAGE := golang:1.14
55DEV_ENV_WORK_DIR := /go/src/${REPO_PATH}
66
77# Enable vendor/ directory support.
@@ -12,14 +12,10 @@ PKG_DIRS := ./...
1212DEV_ENV_CMD := docker run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR} ${DEV_ENV_IMAGE}
1313
1414bootstrap :
15- ${DEV_ENV_CMD} dep ensure
15+ ${DEV_ENV_CMD} go mod vendor
1616
1717build :
1818 ${DEV_ENV_CMD} go build ${PKG_DIRS}
1919
20- test-cover :
21- ${DEV_ENV_CMD} test-cover.sh
22- test-style :
23- ${DEV_ENV_CMD} lint
24- test : build test-style test-cover
20+ test : build
2521 ${DEV_ENV_CMD} go test ${PKG_DIRS}
Original file line number Diff line number Diff line change 1+ module github.com/drycc/controller-sdk-go
2+
3+ go 1.13
4+
5+ require (
6+ github.com/PuerkitoBio/purell v1.1.0 // indirect
7+ github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
8+ github.com/goware/urlx v0.0.0-20171129014730-06d8eeb3ce17
9+ golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 // indirect
10+ golang.org/x/text v0.3.0 // indirect
11+ )
Original file line number Diff line number Diff line change 1+ github.com/PuerkitoBio/purell v1.1.0 h1:rmGxhojJlM0tuKtfdvliR84CFHljx9ag64t2xmVkjK4 =
2+ github.com/PuerkitoBio/purell v1.1.0 /go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0 =
3+ github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M =
4+ github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 /go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE =
5+ github.com/goware/urlx v0.0.0-20171129014730-06d8eeb3ce17 h1:6Gt5nbCTJ4YjqdJstMOLpyquzZMYpd01YZ/Kvaw6iPs =
6+ github.com/goware/urlx v0.0.0-20171129014730-06d8eeb3ce17 /go.mod h1:Zn362WbIrTvMfW1tj4MxrEct8vJtNlnljZPnRssPfDU =
7+ golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 h1:ulvT7fqt0yHWzpJwI57MezWnYDVpCAYBVuYst/L+fAY =
8+ golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 /go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4 =
9+ golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg =
10+ golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
You can’t perform that action at this time.
0 commit comments