Skip to content

Commit

Permalink
add goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 3, 2017
1 parent 785bf90 commit 14c874a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/polls/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import (
"github.com/tj/kingpin"
)

// version of polls.
var version = "0.0.1"

// endpoint for polls.
var endpoint = "https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod"
// Config.
var (
version = "master"
endpoint = "https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod"
)

// TODO: move all this stuff into a pkg
type input struct {
Expand Down
8 changes: 8 additions & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build:
binary: polls
goos:
- windows
- darwin
- linux
goarch:
- amd64

0 comments on commit 14c874a

Please sign in to comment.