Skip to content

Commit

Permalink
switch from glide to dep for managing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Jul 15, 2017
1 parent 8bc10e4 commit 1e66281
Show file tree
Hide file tree
Showing 1,155 changed files with 1,481 additions and 591,320 deletions.
129 changes: 129 additions & 0 deletions Gopkg.lock

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

62 changes: 62 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

# 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/Masterminds/vcs"
version = "=1.11.1"

[[constraint]]
name = "github.com/blang/semver"
version = "=3.5.0"

[[constraint]]
name = "github.com/codegangsta/cli"
version = "=1.19.1"

[[constraint]]
branch = "master"
name = "github.com/go-utils/ufs"

[[constraint]]
name = "github.com/onsi/ginkgo"
version = "=1.3.1"

[[constraint]]
name = "github.com/onsi/gomega"
version = "=1.1.0"

[[constraint]]
branch = "master"
name = "github.com/tg/gosortmap"

[[constraint]]
branch = "master"
name = "github.com/vektra/errors"

[[constraint]]
name = "gopkg.in/fatih/set.v0"
version = "=0.1.0"

[[constraint]]
branch = "v2"
name = "gopkg.in/yaml.v2"
1 change: 0 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
go get \
github.com/axw/gocov/gocov \
github.com/kisielk/errcheck \
github.com/Masterminds/glide \
github.com/mattn/goveralls \
golang.org/x/tools/cmd/cover
- run:
Expand Down
2 changes: 1 addition & 1 deletion circleci/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
cov_file=/tmp/coverage.txt

# Get the list of packages.
pkgs=`go list $(glide novendor)`
pkgs=`go list ./... | grep -v vendor`

echo "mode: count" > $cov_file
for pkg in $pkgs
Expand Down
12 changes: 6 additions & 6 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ This should print out usage documentation. You can find the code in `$GOPATH/src
# Get test dependencies
go get -t ./...
# Run tests
go test $(glide nv)
go test $(go list ./... | grep -v vendor)
```

## Updating dependencies

Masonry uses [glide](https://github.com/Masterminds/glide) to manage dependencies.
1. Install [Dep](https://github.com/golang/dep).
1. Run

```sh
go get github.com/Masterminds/glide
glide up --all-dependencies
```
```sh
dep ensure -update
```

## Creating binaries

Expand Down
112 changes: 0 additions & 112 deletions glide.lock

This file was deleted.

18 changes: 0 additions & 18 deletions glide.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ set -x

# run `go test` outside of goxc since there wasn't a clean way to ignore the vendor/ directory otherwise
# https://github.com/laher/goxc/issues/99
go test $($GOPATH/bin/glide nv)
go test $(go list ./... | grep -v vendor)
$GOPATH/bin/goxc "$@"
2 changes: 1 addition & 1 deletion vendor/github.com/blang/semver/.gx/lastpubver

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

21 changes: 0 additions & 21 deletions vendor/github.com/blang/semver/.travis.yml

This file was deleted.

0 comments on commit 1e66281

Please sign in to comment.