Add Makefile

This commit is contained in:
9seconds
2018-05-31 09:54:20 +03:00
parent e6dc3f169c
commit 26ba563064
3 changed files with 95 additions and 0 deletions
+3
View File
@@ -1,5 +1,7 @@
package main
//go:generate scripts/generate_version.sh
import (
"encoding/hex"
"fmt"
@@ -68,6 +70,7 @@ var (
)
func main() {
app.Version(version)
kingpin.MustParse(app.Parse(os.Args[1:]))
secretBytes, err := hex.DecodeString(*secret)