Skip to content

Commit

Permalink
Use dep for vendor
Browse files Browse the repository at this point in the history
Like we did for circleci/build-agent#678
  • Loading branch information
Zachary Scott committed May 30, 2018
1 parent 8f430f2 commit 40a0c5c
Show file tree
Hide file tree
Showing 482 changed files with 230,555 additions and 5 deletions.
132 changes: 132 additions & 0 deletions Gopkg.lock

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

42 changes: 42 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true


[[constraint]]
name = "github.com/machinebox/graphql"
branch = "master"

[[constraint]]
name = "github.com/spf13/cobra"
version = "0.0.3"

[[constraint]]
name = "github.com/spf13/viper"
version = "1.0.2"

[prune]
go-tests = true
unused-packages = true
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Summary

## Requirements

* Go 1.x
* Go 1.9+
* Make
* ...

Expand All @@ -17,13 +17,30 @@ It's written in Go. If you are new to Go, we recommend the following resources:

### 1. Go Dependencies

Install `dep`:
https://github.com/golang/dep

On MacOS:

```
$ brew install dep
$ brew upgrade dep
```

On Linux, etc:

```
$ go get github.com/spf13/cobra
$ go get github.com/spf13/viper
$ go get github.com/machinebox/graphql
$ go get ...
$ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
```

Ensure dependencies are installed:

```
$ dep ensure
```

TODO: we want `make` to check vendor? They are committed...

### 2. Build it

```
Expand Down
5 changes: 5 additions & 0 deletions vendor/github.com/fsnotify/fsnotify/.editorconfig

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

6 changes: 6 additions & 0 deletions vendor/github.com/fsnotify/fsnotify/.gitignore

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

30 changes: 30 additions & 0 deletions vendor/github.com/fsnotify/fsnotify/.travis.yml

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

52 changes: 52 additions & 0 deletions vendor/github.com/fsnotify/fsnotify/AUTHORS

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

Loading

0 comments on commit 40a0c5c

Please sign in to comment.