编译工具的fish脚本。
It's like the golang-crosscompile for go build
.
example:
gobuild linux amd64 --> GOOS = amd64;GOARCH = linux; go build
gobuild linux amd64 samll --> GOOS = amd64;GOARCH = linux; go build -ldflags "-s -w"
gobuild linux amd64 -ldflags \"-s -w\" --> like prev cmd
Download it to the oh-my-fish/plugins or add to functions of fish.