Skip to content

Commit

Permalink
Merge pull request #276 from redhatrises/add_vendor_deps
Browse files Browse the repository at this point in the history
Add vendor dependency folder to make building easier
  • Loading branch information
shawndwells committed May 30, 2018
2 parents 04796b1 + d32692b commit 75f03f3
Show file tree
Hide file tree
Showing 334 changed files with 221,807 additions and 8 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
/compliance-masonry
*.swp
*.out
vendor
22 changes: 15 additions & 7 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,29 @@ Interested in contributing to Masonry? Awesome! Take a look at our [contribution
go get github.com/opencontrol/compliance-masonry
```

1. Install the dependencies.
1. Run the tool.

```sh
cd $GOPATH/src/github.com/opencontrol/compliance-masonry
dep ensure
go install .
compliance-masonry
```

1. Run the tool.
This should print out usage documentation.

## Updating dependencies

1. Get the `vndr` handling tool.

```sh
compliance-masonry
go get github.com/LK4D4/vndr
```

This should print out usage documentation.
1. Update dependencies by running the `vndr` tool in the project.

```sh
vndr
```

1. If any dependencies do not exist in the `vendor/` folder, add them to `vendor.conf` and re-run the `vndr` tool.

## Running tests

Expand Down
18 changes: 18 additions & 0 deletions vendor.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
gopkg.in/fatih/set.v0 master
github.com/stretchr/testify master
github.com/stretchr/objx master
github.com/davecgh/go-spew master
github.com/pmezard/go-difflib master
github.com/Masterminds/vcs master
github.com/vektra/errors master
github.com/go-forks/fsnotify master
github.com/metaleap/go-util master
github.com/codegangsta/cli master
vbom.ml/util master
gopkg.in/yaml.v2 v2
github.com/blang/semver master
github.com/tg/gosortmap master
github.com/onsi/ginkgo master
github.com/onsi/gomega master
golang.org/x/net master
golang.org/x/text master
20 changes: 20 additions & 0 deletions vendor/github.com/Masterminds/vcs/LICENSE.txt

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

48 changes: 48 additions & 0 deletions vendor/github.com/Masterminds/vcs/README.md

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

0 comments on commit 75f03f3

Please sign in to comment.