diff --git a/.goxc.json b/.goxc.json new file mode 100644 index 0000000..25a0af6 --- /dev/null +++ b/.goxc.json @@ -0,0 +1,14 @@ +{ + "ArtifactsDest": "dist", + "Tasks": [ + "xc" + ], + "BuildConstraints": "linux windows darwin freebsd", + "TaskSettings": { + "xc": { + "GOARM": "7" + } + }, + "ConfigVersion": "0.9" +} + diff --git a/Makefile b/Makefile index 3dd8a5a..cc17d6b 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ all: - gox --os="linux darwin" --output="build/{{.Dir}}_{{.OS}}_{{.Arch}}" ./cmd/phabulous + goxc go-test xc archive rmbin clean: - rm -r build + rm -rf dist diff --git a/cmd/phabulous/phabulous.go b/cmd/phabulous/phabulous.go index b2b55dc..8eb4d1f 100644 --- a/cmd/phabulous/phabulous.go +++ b/cmd/phabulous/phabulous.go @@ -47,7 +47,7 @@ func main() { app.Usage = "A Phabricator bot in Go" // Set version and authorship info - app.Version = "2.1.0-alpha1" + app.Version = "2.3.1" app.Author = "Eduardo Trujillo " // Setup the default action. This action will be triggered when no