updated dip with generated code
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2021-12-25 23:11:46 +01:00
parent 499bc55324
commit a493f65f18
2 changed files with 3 additions and 5 deletions

View File

@ -28,11 +28,8 @@ build() {
RELEASENAME=${PROJECTNAME}-${VERSION}-${GOOS}-${GOARCH}
fi
echo "Getting packr2 and building embedded files"
go install github.com/gobuffalo/packr/v2/packr2@latest
packr2
echo "Building project"
go generate ${SRCFILES}
go build -o ${PROJECTNAME} ${GOOPTIONS} ${SRCFILES}
if [[ ! -z $DRONE_TAG ]]

View File

@ -1,7 +1,8 @@
//go:generate go run github.com/gobuffalo/packr/v2/packr2@latest -v
package main
import (
_ "git.paulbsd.com/paulbsd/dip/packrd"
"git.paulbsd.com/paulbsd/dip/src/config"
"git.paulbsd.com/paulbsd/dip/src/ws"
"git.paulbsd.com/paulbsd/dip/utils"