1
0
Fork 0

Vendor generated file

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2017-04-21 11:21:55 +02:00 committed by Emile Vauge
parent bec45bc7d6
commit 1b85dd0455
No known key found for this signature in database
GPG key ID: D808B4C167352E59
6 changed files with 482 additions and 4 deletions

View file

@ -61,7 +61,8 @@ 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 (Only required to integrate other components such as web dashboard)
# generate
# (required to merge non-code components into the final binary, such as the web dashboard and provider's Go templates)
$ go generate
# Standard go build
$ go build
@ -72,6 +73,10 @@ $ 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`