Add build script, generate version string on build time, modify usage and add version info
This commit is contained in:
parent
8538df7a14
commit
9364b82e08
4 changed files with 23 additions and 1 deletions
2
main.go
2
main.go
|
@ -5,6 +5,8 @@ package main
|
|||
|
||||
import "os"
|
||||
|
||||
var Version = "dev"
|
||||
|
||||
func main() {
|
||||
if ParseCommandline() {
|
||||
ParseConfig(configFilepath)
|
||||
|
|
Reference in a new issue