updated ci-build.sh
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2020-05-09 19:30:28 +02:00
parent 18e9b008c7
commit 1e331089b4

View File

@ -22,7 +22,13 @@ build() {
fi fi
go get github.com/gobuffalo/packr/v2/packr2 go get github.com/gobuffalo/packr/v2/packr2
${GOPATH}/bin/packr2
if [[ ! -f ${GOPATH}/bin/packr2 ]]
then
${GOPATH}/bin/${GOOS}_${GOARCH}/packr2
else
${GOPATH}/bin/packr2
fi
go build -o ${PROJECTNAME} ${GOOPTIONS} ${SRCFILES} go build -o ${PROJECTNAME} ${GOOPTIONS} ${SRCFILES}