Merge pull request #90 from vdemeester/move-version-away
Move version info in its own file.
This commit is contained in:
commit
ddceefa4e1
2 changed files with 6 additions and 2 deletions
|
@ -28,8 +28,6 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
Version = ""
|
||||
BuildDate = ""
|
||||
globalConfigFile = kingpin.Arg("conf", "Main configration file.").Default("traefik.toml").String()
|
||||
version = kingpin.Flag("version", "Get Version.").Short('v').Bool()
|
||||
currentConfigurations = make(configs)
|
||||
|
|
6
version.go
Normal file
6
version.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package main
|
||||
|
||||
var (
|
||||
Version = ""
|
||||
BuildDate = ""
|
||||
)
|
Loading…
Reference in a new issue