Use go generate for dockerversion
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
b12c4ac55a
commit
b71b5dd0d4
3 changed files with 15 additions and 12 deletions
|
@ -6,4 +6,7 @@ Copyright
|
||||||
//go:generate rm -vf gen.go
|
//go:generate rm -vf gen.go
|
||||||
//go:generate go-bindata -o gen.go static/... templates/...
|
//go:generate go-bindata -o gen.go static/... templates/...
|
||||||
|
|
||||||
|
//go:generate mkdir -p vendor/github.com/docker/docker/autogen/dockerversion
|
||||||
|
//go:generate cp script/dockerversion vendor/github.com/docker/docker/autogen/dockerversion/dockerversion.go
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
12
script/dockerversion
Normal file
12
script/dockerversion
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
// AUTOGENERATED FILE; see /go/src/github.com/docker/docker/hack/make/.go-autogen
|
||||||
|
package dockerversion
|
||||||
|
|
||||||
|
var (
|
||||||
|
GITCOMMIT string = "traefik-import"
|
||||||
|
VERSION string = "traefik-import"
|
||||||
|
BUILDTIME string = "traefik-import"
|
||||||
|
|
||||||
|
IAMSTATIC string = "traefik-import"
|
||||||
|
INITSHA1 string = "traefik-import"
|
||||||
|
INITPATH string = "traefik-import"
|
||||||
|
)
|
12
vendor/github.com/docker/docker/autogen/dockerversion/dockerversion.go
generated
vendored
12
vendor/github.com/docker/docker/autogen/dockerversion/dockerversion.go
generated
vendored
|
@ -1,12 +0,0 @@
|
||||||
// AUTOGENERATED FILE; see ./hack/make/.go-autogen
|
|
||||||
package dockerversion
|
|
||||||
|
|
||||||
var (
|
|
||||||
GITCOMMIT string = ""
|
|
||||||
VERSION string = ""
|
|
||||||
BUILDTIME string = ""
|
|
||||||
|
|
||||||
IAMSTATIC string = "true"
|
|
||||||
INITSHA1 string = ""
|
|
||||||
INITPATH string = ""
|
|
||||||
)
|
|
Loading…
Add table
Reference in a new issue