PKGBUILD/main.go
Markus Pesch 39b3a495ac
fix: remove root check
Changes:
- The owner of the flucky binary must be root. To grant access to the
  binary and third party libs, for example wire1, gpio or i2c, the
  binary must have a sticky bit
2019-12-08 15:07:24 +01:00

24 lines
314 B
Go

package main
import (
"log"
"os"
"github.com/Masterminds/semver"
"github.com/go-flucky/flucky/cmd"
)
var (
version string
)
func main() {
sversion, err := semver.NewVersion(version)
if err != nil {
log.Printf("The sematic versioning is invalid: %v", version)
os.Exit(1)
}
cmd.Execute(sversion)
}