Merge pull request #1464 from vdemeester/vendor-autogen

This commit is contained in:
Fernandez Ludovic 2017-05-03 10:02:14 +02:00
parent a0d6594e99
commit acb0492e26
6 changed files with 4 additions and 482 deletions

View file

@ -61,8 +61,7 @@ Here's a full example:
$ ./script/glide.sh get github.com/foo/bar
# install another dependency, this time for the integration tests
$ ( cd integration && ../script/glide.sh get github.com/baz/quuz )
# generate
# (required to merge non-code components into the final binary, such as the web dashboard and provider's Go templates)
# generate (Only required to integrate other components such as web dashboard)
$ go generate
# Standard go build
$ go build
@ -73,10 +72,6 @@ $ gox "linux darwin" "386 amd64 arm" \
# run other commands like tests
```
### Updating the templates
If you happen to update the provider templates (in `/templates`), you need to run `go generate` to update the `autogen` package.
### Tests
##### Method 1: `Docker` and `make`