File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99version : 2
1010
11- before :
12- hooks :
13- - make conductor-build-binaries
14-
1511builds :
12+ - id : " conductor"
13+ main : " ./cmd/conductor/main.go"
14+ binary : " conductor"
15+ dir : .
16+ # We output to assets/dist so your //go:embed paths stay valid
17+ hooks :
18+ post :
19+ - mkdir -p assets/dist/{{ .Target }}
20+ - cp {{ .Path }} assets/dist/{{ .Target }}/{{ .ProjectName }}{{ .Ext }}
21+ env :
22+ - CGO_ENABLED=0
23+ goos :
24+ - linux
25+ - windows
26+ - darwin
27+ goarch :
28+ - amd64
29+ - arm
30+ - arm64
31+ ignore :
32+ - goos : windows
33+ goarch : arm
34+
1635 - id : " freight"
1736 main : " ./cmd/freight"
1837 binary : " freight"
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ build-all: conductor-build-binaries build-freight
99conductor-build-binaries :
1010 goreleaser release --snapshot --clean --config=./assets/.goreleaser.yaml
1111
12- .Phony : conductor-dev-build-binaries
13- conductor-dev-build-binaries :
14- goreleaser release --snapshot --clean --config=./assets/.goreleaser.yaml
15-
1612.Phony : test-go
1713test-go :
1814 go test ./... --race
You can’t perform that action at this time.
0 commit comments