Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(build): Replace Go Dep with Go Modules #424

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:
go-build:
working_directory: /go/src/github.com/cpssd/heracles
docker:
- image: golang:1.10-alpine
- image: golang:1.11-alpine
environment:
GO111MODULE: "on"
steps:
- checkout
- run: apk -U add protobuf make git
- run: go get github.com/golang/dep/cmd/dep
- run: dep ensure
- run: apk -U add protobuf make git build-base
- run: make go-proto
- run: go get ./...
- run: make go-build
workflows:
version: 2
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Cargo.lock linguist-generated
go.sum linguist-generated
220 changes: 0 additions & 220 deletions Gopkg.lock

This file was deleted.

70 changes: 0 additions & 70 deletions Gopkg.toml

This file was deleted.

17 changes: 17 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module github.com/cpssd/heracles

require (
github.com/fsnotify/fsnotify v1.4.7
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/golang/protobuf v1.2.0
github.com/google/uuid v1.0.0
github.com/mattn/go-runewidth v0.0.3 // indirect
github.com/olekukonko/tablewriter v0.0.0-20180912035003-be2c049b30cc
github.com/pkg/errors v0.8.0
github.com/spf13/pflag v1.0.2
github.com/spf13/viper v1.2.0
github.com/streadway/amqp v0.0.0-20180806233856-70e15c650864
github.com/urfave/cli v1.20.0
golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3
google.golang.org/grpc v1.15.0
)
63 changes: 63 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.