Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
/cmPublic archive

Commit07e38e4

Browse files
authored
Merge pull request#326 from vania-pooh/master
Turn off CGO for all platforms in gox (fixes#325)
2 parents784af9e +251cae4 commit07e38e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
export GO111MODULE="on"
44
go install github.com/mitchellh/gox@latest# cross compile
55
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags"-X github.com/aerokube/cm/cmd.buildStamp=`date -u'+%Y-%m-%d_%I:%M:%S%p'` -X github.com/aerokube/cm/cmd.gitRevision=`git describe --tags|| git rev-parse HEAD` -s -w"
6-
gox -os"linux darwin windows" -arch"amd64" -osarch="darwin/arm64" -osarch="windows/386" -output"dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags"-X github.com/aerokube/cm/cmd.buildStamp=`date -u'+%Y-%m-%d_%I:%M:%S%p'` -X github.com/aerokube/cm/cmd.gitRevision=`git describe --tags|| git rev-parse HEAD` -s -w"
6+
CGO_ENABLED=0gox -os"linux darwin windows" -arch"amd64" -osarch="darwin/arm64" -osarch="windows/386" -output"dist/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags"-X github.com/aerokube/cm/cmd.buildStamp=`date -u'+%Y-%m-%d_%I:%M:%S%p'` -X github.com/aerokube/cm/cmd.gitRevision=`git describe --tags|| git rev-parse HEAD` -s -w"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp