Skip to content

Commit

Permalink
goreleaser: add twitterview, add ldflags to strip all binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
azimut committed Apr 11, 2023
1 parent 78885b4 commit 0692e9d
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
builds:
- id: twitterview
binary: twitterview
main: ./cmd/twitterview
goos: [ linux ]
goarch: [ amd64 ]
flags: [ -v ]
- id: hackerview
binary: hackerview
main: ./cmd/hackerview
goos: [ linux ]
goarch: [ amd64 ]
flags: [ -v ]

- id: twitterview
binary: twitterview
main: ./cmd/twitterview
goos: [ linux ]
goarch: [ amd64 ]
ldflags: [ "-s -w" ]

- id: hackerview
binary: hackerview
main: ./cmd/hackerview
goos: [ linux ]
goarch: [ amd64 ]
ldflags: [ "-s -w" ]

- id: redditview
binary: redditview
main: ./cmd/redditview
goos: [ linux ]
goarch: [ amd64 ]
ldflags: [ "-s -w" ]

0 comments on commit 0692e9d

Please sign in to comment.