Added build script written in go that adds build symbols for version, commit and build date

This commit is contained in:
Torkel Ödegaard
2015-01-05 10:46:58 +01:00
parent 6ebf766342
commit d06174fb56
7 changed files with 276 additions and 9 deletions

View File

@@ -34,11 +34,15 @@ const (
var (
// App settings.
Env string = DEV
AppVer string
AppName string
AppUrl string
AppSubUrl string
// build
BuildVersion string
BuildCommit string
BuildStamp int64
// Log settings.
LogRootPath string
LogModes []string