diff --git a/script/build.sh b/script/build.sh index 0008c19..08a6d3b 100755 --- a/script/build.sh +++ b/script/build.sh @@ -36,6 +36,8 @@ cd $GOPATH/src/github.com/bulwark-crypto/bwk-dash echo "Removing old builds..." rm -fR bin mkdir bin +rm -fR build +mkdir build echo "Building binaries..." GOOS=linux GOARCH=arm CGO_ENABLED=1 CC=arm-linux-gnueabi-gcc go build -o bin/linux-arm/bwk-cron cmd/bwk-cron/*.go diff --git a/script/local_build.sh b/script/local_build.sh index 428c161..6d2142c 100755 --- a/script/local_build.sh +++ b/script/local_build.sh @@ -8,6 +8,8 @@ cd .. echo "Removing old builds..." rm -fR bin mkdir bin +rm -fR build +mkdir build echo "Building binaries..." GOOS=linux GOARCH=arm CGO_ENABLED=1 CC=arm-linux-gnueabi-gcc go build -o bin/linux-arm/bwk-cron cmd/bwk-cron/*.go