From afdab573239bfc99d88d5ed1371576fa5705e025 Mon Sep 17 00:00:00 2001 From: Pauli Jokela Date: Tue, 25 Sep 2018 11:32:48 +0300 Subject: [PATCH] Fixing build script for Homebrew [skip ci] --- .scripts/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.scripts/build.sh b/.scripts/build.sh index 43dfe7d..1fa093e 100755 --- a/.scripts/build.sh +++ b/.scripts/build.sh @@ -18,7 +18,9 @@ echo "pwd: $(pwd)" echo "ls: $(ls)" echo "GOPATH: $GOPATH" echo "ls GOPATH: $(ls $GOPATH)" +BUILD_CMD="go run $GOPATH/src/github.com/gobuffalo/packr/packr/main.go" # Build the application #go build -ldflags "-X main.Version=${VERSION}" -o ${OUTPUT} -packr build -ldflags "-X main.Version=${VERSION}" -o ${OUTPUT} +#packr build -ldflags "-X main.Version=${VERSION}" -o ${OUTPUT} +$BUILD_CMD build -ldflags "-X main.Version=${VERSION}" -o ${OUTPUT}