// MakeVersion holds the current Make version if built with make
MakeVersion=""
)
funcinit(){
setting.AppVer=Version
@ -60,10 +63,14 @@ arguments - which can alternatively be run by running the subcommand web.`
@@ -60,10 +63,14 @@ arguments - which can alternatively be run by running the subcommand web.`
}
}
funcformatBuiltWith(Tagsstring)string{
funcformatBuiltWith(makeTagsstring)string{
varversion=runtime.Version()
iflen(MakeVersion)>0{
version=MakeVersion+", "+runtime.Version()
}
iflen(Tags)==0{
return" built with "+runtime.Version()
return" built with "+version
}
return" built with "+runtime.Version()+" : "+strings.Replace(Tags," ",", ",-1)
return" built with "+version+" : "+strings.Replace(Tags," ",", ",-1)