File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,8 @@ outdir:
1414build : dist
1515 @echo " Building with system defaults..."
1616 @CGO_ENABLED=0 go build -ldflags " -X github.com/iansinnott/browser-gopher/cmd.Version=$( VERSION) "
17- @echo " Building $( NAME) $( VERSION) for $( shell go env GOOS) /$( shell go env GOARCH) ..."
18- @CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags " -X github.com/iansinnott/browser-gopher/cmd.Version=$( VERSION) " -o $(OUTDIR ) /$(NAME ) -darwin-arm64
19- @CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags " -X github.com/iansinnott/browser-gopher/cmd.Version=$( VERSION) " -o $(OUTDIR ) /$(NAME ) -darwin-amd64
20- @echo " Building $( NAME) $( VERSION) for linux/amd64..."
21- @CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags " -X github.com/iansinnott/browser-gopher/cmd.Version=$( VERSION) " -o $(OUTDIR ) /$(NAME ) -linux-amd64
17+ @echo " Building ..."
18+ CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags " -X github.com/iansinnott/browser-gopher/cmd.Version=$( VERSION) " -o $(OUTDIR ) /$(NAME ) -darwin-arm64
19+ CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags " -X github.com/iansinnott/browser-gopher/cmd.Version=$( VERSION) " -o $(OUTDIR ) /$(NAME ) -darwin-amd64
20+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags " -X github.com/iansinnott/browser-gopher/cmd.Version=$( VERSION) " -o $(OUTDIR ) /$(NAME ) -linux-amd64
2221 @echo " Done."
You can’t perform that action at this time.
0 commit comments