add build-one.sh to build for current platform
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
parent
102df8039f
commit
58a2428ed1
6
build-one.sh
Executable file
6
build-one.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Building for current platform..."
|
||||
CGO_ENABLED=1 go build -trimpath -o 'gophor' -buildmode 'pie' -a -tags 'netgo' -ldflags '-s -w -extldflags "-static"'
|
||||
upx --best --color 'gophor'
|
||||
echo ""
|
Loading…
Reference in New Issue
Block a user