1
0
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:
Craig Peterson
2016-08-25 17:27:01 -06:00
parent 37c9864ecd
commit c1a528a359

View File

@ -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