Vendor generated file from template

This commit is contained in:
Ludovic Fernandez 2017-11-20 15:26:03 +01:00 committed by Traefiker
parent ab87bad952
commit a6955ecf59
13 changed files with 499 additions and 16 deletions

View file

@ -66,6 +66,9 @@ cd ~/go/src/github.com/containous/traefik
go get github.com/jteeuwen/go-bindata/...
# Start build
# 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
@ -75,6 +78,10 @@ go build ./cmd/traefik
You will find the Træfik executable in the `~/go/src/github.com/containous/traefik` folder as `traefik`.
### Updating the templates
If you happen to update the provider templates (in `/templates`), you need to run `go generate` to update the `autogen` package.
### Setting up `glide` and `glide-vc` for dependency management
- Glide is not required for building; however, it is necessary to modify dependencies (i.e., add, update, or remove third-party packages)