Skip to content

Commit 6ffab49

Browse files
committed
feat(dep): change glide to dep
1 parent 6c99dbc commit 6ffab49

5 files changed

Lines changed: 101 additions & 26 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ FROM drycc/go-dev:v0.22.0
44
ADD https://codecov.io/bash /usr/local/bin/codecov
55
RUN chmod +x /usr/local/bin/codecov
66

7-
COPY glide.yaml /go/src/github.com/drycc/controller-sdk-go/
8-
COPY glide.lock /go/src/github.com/drycc/controller-sdk-go/
7+
ADD . /go/src/github.com/drycc/controller-sdk-go/
98

109
WORKDIR /go/src/github.com/drycc/controller-sdk-go
1110

12-
RUN glide install --strip-vendor
11+
RUN dep ensure
1312

1413
COPY ./_scripts /usr/local/bin
1514

Gopkg.lock

Lines changed: 65 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Gopkg.toml example
2+
#
3+
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
4+
# for detailed Gopkg.toml documentation.
5+
#
6+
# required = ["github.com/user/thing/cmd/thing"]
7+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+
#
9+
# [[constraint]]
10+
# name = "github.com/user/project"
11+
# version = "1.0.0"
12+
#
13+
# [[constraint]]
14+
# name = "github.com/user/project2"
15+
# branch = "dev"
16+
# source = "github.com/myfork/project2"
17+
#
18+
# [[override]]
19+
# name = "github.com/x/y"
20+
# version = "2.4.0"
21+
#
22+
# [prune]
23+
# non-go = false
24+
# go-tests = true
25+
# unused-packages = true
26+
27+
28+
[[constraint]]
29+
branch = "master"
30+
name = "github.com/goware/urlx"
31+
32+
[prune]
33+
go-tests = true
34+
unused-packages = true

glide.lock

Lines changed: 0 additions & 20 deletions
This file was deleted.

glide.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)