Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
stremovsky committed May 8, 2024
1 parent cdd19ba commit 570e2fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ go get -d -v

if [ -x "~/go/bin/packr" ]; then
~/go/bin/packr
elif [ -x "packr" ]; then
else
packr
fi

go build -v -ldflags="-s -w -X main.version=$FULL_VERSION" -o ../databunker
CGO_ENABLED=0 go build -v -ldflags="-s -w -X main.version=$FULL_VERSION" -o ../databunker

if [ -x "~/go/bin/packr" ]; then
~/go/bin/packr clean
elif [ -x "packr" ]; then
else
packr clean
fi

Expand Down

0 comments on commit 570e2fc

Please sign in to comment.