mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Making compression gated by flag.
This commit is contained in:
15
build.sh
15
build.sh
@ -13,11 +13,10 @@ echo 'Building Darwin'
|
||||
export GOOS=darwin
|
||||
go build -o dnscontrol-Darwin -ldflags "$FLAGS" $PKG
|
||||
|
||||
ls -lah dnscontrol*
|
||||
|
||||
echo 'Compressing executables'
|
||||
upx dnscontrol.exe
|
||||
upx dnscontrol-Linux
|
||||
upx dnscontrol-Darwin
|
||||
|
||||
ls -lah dnscontrol*
|
||||
if [ "$COMPRESS" = "1" ]
|
||||
then
|
||||
echo 'Compressing executables'
|
||||
upx dnscontrol.exe
|
||||
upx dnscontrol-Linux
|
||||
upx dnscontrol-Darwin
|
||||
fi
|
Reference in New Issue
Block a user