Skip to content

Commit

Permalink
Fixing build script for Homebrew [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Dids committed Sep 25, 2018
1 parent 00821f7 commit afdab57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit afdab57

Please sign in to comment.