Move version info in its own file.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
9cfd0a6b26
commit
80cd6c3699
2 changed files with 6 additions and 2 deletions
|
@ -28,8 +28,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
Version = ""
|
|
||||||
BuildDate = ""
|
|
||||||
globalConfigFile = kingpin.Arg("conf", "Main configration file.").Default("traefik.toml").String()
|
globalConfigFile = kingpin.Arg("conf", "Main configration file.").Default("traefik.toml").String()
|
||||||
version = kingpin.Flag("version", "Get Version.").Short('v').Bool()
|
version = kingpin.Flag("version", "Get Version.").Short('v').Bool()
|
||||||
currentConfigurations = make(configs)
|
currentConfigurations = make(configs)
|
||||||
|
|
6
version.go
Normal file
6
version.go
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
var (
|
||||||
|
Version = ""
|
||||||
|
BuildDate = ""
|
||||||
|
)
|
Loading…
Add table
Reference in a new issue