PKGBUILD/main.go

24 lines
328 B
Go
Raw Normal View History

2018-11-07 19:07:15 +00:00
package main
import (
"log"
"os"
2018-11-07 19:07:15 +00:00
2020-06-10 19:13:05 +00:00
"git.cryptic.systems/volker.raschek/flucky/cli"
"github.com/Masterminds/semver"
2018-11-07 19:07:15 +00:00
)
var (
version string
)
2018-11-07 19:07:15 +00:00
func main() {
sversion, err := semver.NewVersion(version)
if err != nil {
log.Printf("The sematic versioning is invalid: %v", version)
os.Exit(1)
}
cli.Execute(sversion)
2018-11-07 19:07:15 +00:00
}