Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
use dep instead of glide
Browse files Browse the repository at this point in the history
  • Loading branch information
stormcat24 committed Aug 27, 2017
1 parent b065199 commit a8b7093
Show file tree
Hide file tree
Showing 6 changed files with 174 additions and 134 deletions.
102 changes: 102 additions & 0 deletions Gopkg.lock

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

64 changes: 64 additions & 0 deletions Gopkg.toml
@@ -0,0 +1,64 @@

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"


[[constraint]]
name = "github.com/go-redis/redis"

[[constraint]]
name = "github.com/golang/protobuf"

[[constraint]]
name = "github.com/kelseyhightower/envconfig"
version = "1.3.0"

[[constraint]]
name = "github.com/mattn/go-pubsub"

[[constraint]]
name = "github.com/mssola/user_agent"
revision = "07efe2b857fb8c02d2dd85c12d0145f58554ec7c"

[[constraint]]
name = "github.com/pkg/errors"
version = "0.8.0"

[[constraint]]
name = "github.com/rcrowley/go-metrics"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.1.4"

[[constraint]]
name = "go.uber.org/zap"
version = "1.0.0"

[[constraint]]
name = "golang.org/x/net"

[[constraint]]
name = "golang.org/x/sync"

[[constraint]]
name = "google.golang.org/grpc"
version = "1.3.0"
12 changes: 6 additions & 6 deletions Makefile
Expand Up @@ -11,15 +11,15 @@ TARGET_SERIAL_PACKAGES=$(addprefix test-,$(SERIAL_PACKAGES))
install-go:
sh util/go.sh 1.8.2

install-glide:
sh util/glide.sh v0.12.3
install-dep:
go get -u github.com/golang/dep/cmd/dep

deps: install-glide
glide install
deps: install-dep
dep ensure

deps-update: install-glide
deps-update: install-dep
rm -rf ./vendor
glide update
dep ensure -update

build:
GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o bin/plasma main.go
Expand Down
4 changes: 2 additions & 2 deletions circle.yml
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: /go/src/github.com/openfresh/plasma
docker:
- image: openfresh/golang:latest
- image: openfresh/golang:latest
- image: redis:3.2.9-alpine
steps:
- checkout
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
release_latest:
working_directory: /go/src/github.com/openfresh/plasma
docker:
- image: openfresh/golang:latest
- image: circleci/classic:edge
steps:
- attach_workspace:
at: .
Expand Down
94 changes: 0 additions & 94 deletions glide.lock

This file was deleted.

32 changes: 0 additions & 32 deletions glide.yaml

This file was deleted.

0 comments on commit a8b7093

Please sign in to comment.