Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit b716b8c

Browse files
tommyknowsnritholtz
authored andcommitted
Switch to go modules (#7)
1 parent 4838019 commit b716b8c

File tree

5 files changed

+47
-167
lines changed

5 files changed

+47
-167
lines changed

.circleci/config.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
1-
aliases:
2-
- &dep_ensure
3-
name: dep_ensure
4-
command: |
5-
go get -u github.com/golang/dep/cmd/dep
6-
dep ensure
7-
81
defaults: &defaults
92
working_directory: /go/src/github.com/coretech/terrafile
103
docker:
11-
- image: circleci/golang:1.11.1
4+
- image: circleci/golang:1.12.5
5+
environment:
6+
GO111MODULE: "on"
127

138
version: 2
149
jobs:
1510
build:
1611
<<: *defaults
1712
steps:
1813
- checkout
19-
- run: *dep_ensure
2014
- run:
2115
name: build_and_test
2216
command: |
@@ -26,7 +20,6 @@ jobs:
2620
<<: *defaults
2721
steps:
2822
- checkout
29-
- run: *dep_ensure
3023
- run: curl -sL https://git.io/goreleaser | bash
3124
workflows:
3225
version: 2
@@ -43,4 +36,4 @@ workflows:
4336
tags:
4437
only: /^v.*/
4538
branches:
46-
ignore: /.*/
39+
ignore: /.*/

Gopkg.lock

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

Gopkg.toml

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

go.mod

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module github.com/coretech/terrafile
2+
3+
go 1.12
4+
5+
require (
6+
github.com/davecgh/go-spew v1.1.1
7+
github.com/jessevdk/go-flags v1.4.0
8+
github.com/konsorten/go-windows-terminal-sequences v1.0.1
9+
github.com/nritholtz/stdemuxerhook v0.0.0-20181016194454-2c86ca05d211
10+
github.com/pmezard/go-difflib v1.0.0
11+
github.com/rendon/testcli v0.0.0-20161027181003-6283090d169f
12+
github.com/sirupsen/logrus v1.1.1
13+
github.com/stretchr/testify v1.2.2
14+
golang.org/x/crypto v0.0.0-20181015023909-0c41d7ab0a0e
15+
golang.org/x/sys v0.0.0-20181011152604-fa43e7bc11ba
16+
gopkg.in/yaml.v2 v2.2.1
17+
)

go.sum

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
2+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3+
github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA=
4+
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
5+
github.com/konsorten/go-windows-terminal-sequences v0.0.0-20180402223658-b729f2633dfe/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
6+
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
7+
github.com/nritholtz/stdemuxerhook v0.0.0-20181016194454-2c86ca05d211 h1:/i5qSLHu6rwA42AvHpVWZGnmMXv2N8EEid2VjA5Hxco=
8+
github.com/nritholtz/stdemuxerhook v0.0.0-20181016194454-2c86ca05d211/go.mod h1:Kd+I8uDa0G2Ui+K1G4dSvv5/S0JP/clMLLMph0SxVQA=
9+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
10+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
11+
github.com/rendon/testcli v0.0.0-20161027181003-6283090d169f h1:onGP+qmYmjKs7pkmi9j0mwyr97/D5wki80e74aKIOxg=
12+
github.com/rendon/testcli v0.0.0-20161027181003-6283090d169f/go.mod h1:cq57a4l475CeMvE7RRpSui1MEqCmhirIt1E7kl8BC2Q=
13+
github.com/sirupsen/logrus v1.1.1 h1:VzGj7lhU7KEB9e9gMpAV/v5XT2NVSvLJhJLCWbnkgXg=
14+
github.com/sirupsen/logrus v1.1.1/go.mod h1:zrgwTnHtNr00buQ1vSptGe8m1f/BbgsPukg8qsT7A+A=
15+
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
16+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
17+
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
18+
golang.org/x/crypto v0.0.0-20181015023909-0c41d7ab0a0e h1:IzypfodbhbnViNUO/MEh0FzCUooG97cIGfdggUrUSyU=
19+
golang.org/x/crypto v0.0.0-20181015023909-0c41d7ab0a0e/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
20+
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
21+
golang.org/x/sys v0.0.0-20181011152604-fa43e7bc11ba h1:nZJIJPGow0Kf9bU9QTc1U6OXbs/7Hu4e+cNv+hxH+Zc=
22+
golang.org/x/sys v0.0.0-20181011152604-fa43e7bc11ba/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
23+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
24+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
25+
gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE=
26+
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

0 commit comments

Comments
 (0)