updated dip with generated code
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
499bc55324
commit
a493f65f18
@ -28,11 +28,8 @@ build() {
|
|||||||
RELEASENAME=${PROJECTNAME}-${VERSION}-${GOOS}-${GOARCH}
|
RELEASENAME=${PROJECTNAME}-${VERSION}-${GOOS}-${GOARCH}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Getting packr2 and building embedded files"
|
|
||||||
go install github.com/gobuffalo/packr/v2/packr2@latest
|
|
||||||
packr2
|
|
||||||
|
|
||||||
echo "Building project"
|
echo "Building project"
|
||||||
|
go generate ${SRCFILES}
|
||||||
go build -o ${PROJECTNAME} ${GOOPTIONS} ${SRCFILES}
|
go build -o ${PROJECTNAME} ${GOOPTIONS} ${SRCFILES}
|
||||||
|
|
||||||
if [[ ! -z $DRONE_TAG ]]
|
if [[ ! -z $DRONE_TAG ]]
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
|
//go:generate go run github.com/gobuffalo/packr/v2/packr2@latest -v
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "git.paulbsd.com/paulbsd/dip/packrd"
|
|
||||||
"git.paulbsd.com/paulbsd/dip/src/config"
|
"git.paulbsd.com/paulbsd/dip/src/config"
|
||||||
"git.paulbsd.com/paulbsd/dip/src/ws"
|
"git.paulbsd.com/paulbsd/dip/src/ws"
|
||||||
"git.paulbsd.com/paulbsd/dip/utils"
|
"git.paulbsd.com/paulbsd/dip/utils"
|
||||||
|
Loading…
Reference in New Issue
Block a user