added go generate
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2022-02-24 19:50:05 +01:00
parent 561b5be477
commit 14f8cbebb0

View File

@ -14,6 +14,7 @@ steps:
- name: build
image: golang
commands:
- go generate $SRCFILES
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
when:
event:
@ -36,6 +37,7 @@ steps:
- name: build
image: golang
commands:
- go generate $SRCFILES
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
- tar -czvf $PROJECTNAME-$GOOS-$GOARCH-$DRONE_TAG.tar.gz $PROJECTNAME
- echo $PROJECTNAME $DRONE_TAG > VERSION