Move version info in its own file.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2015-11-01 22:59:59 +01:00
parent 9cfd0a6b26
commit 80cd6c3699
2 changed files with 6 additions and 2 deletions

View file

@ -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
View file

@ -0,0 +1,6 @@
package main
var (
Version = ""
BuildDate = ""
)