Merge pull request #90 from vdemeester/move-version-away

Move version info in its own file.
This commit is contained in:
Emile Vauge 2015-11-02 10:29:34 +01:00
commit ddceefa4e1
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 = ""
)