File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1313# Build settings for binaries
1414builds :
1515 - id : parrot
16+ main : ./cmd/main.go
1617 goos :
1718 - linux
1819 - darwin
@@ -23,7 +24,7 @@ builds:
2324 - ' -s -w'
2425
2526archives :
26- - format : binary
27+ - formats : [' binary']
2728
2829dockers :
2930 - id : linux-amd64-parrot
Original file line number Diff line number Diff line change 3030
3131.PHONY : build
3232build :
33- go build -o ./parrot ./cmd
33+ go build -o ./parrot ./cmd
34+
35+ .PHONY : goreleaser
36+ goreleaser :
37+ cd .. && goreleaser build --snapshot --clean -f ./parrot/.goreleaser.yaml --output ./parrot/dist
Original file line number Diff line number Diff line change @@ -16,4 +16,10 @@ make test
1616make test PARROT_TEST_LOG_LEVEL=trace # Set log level for tests
1717make test_race # Test with -race flag enabled
1818make bench # Benchmark
19+ ```
20+
21+ ## Build
22+
23+ ``` sh
24+ make goreleaser # Uses goreleaser to build binaries and docker containers
1925```
You can’t perform that action at this time.
0 commit comments