This commit is contained in:
parent
18e9b008c7
commit
1e331089b4
@ -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}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user