updated ci files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2020-05-09 19:58:52 +02:00
parent b883a2d1e7
commit 1116096e3e
2 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,7 @@ steps:
image: golang image: golang
commands: commands:
- go get github.com/gobuffalo/packr/v2/packr2 - go get github.com/gobuffalo/packr/v2/packr2
- echo $(ls /go/bin) - go build -o packr2 github.com/gobuffalo/packr/v2/packr2
- name: build - name: build
image: golang image: golang
commands: commands:
@ -39,6 +39,7 @@ steps:
image: golang image: golang
commands: commands:
- go get github.com/gobuffalo/packr/v2/packr2 - go get github.com/gobuffalo/packr/v2/packr2
- go build -o packr2 github.com/gobuffalo/packr/v2/packr2
- name: build - name: build
image: golang image: golang
commands: commands:
@ -69,6 +70,7 @@ steps:
image: golang image: golang
commands: commands:
- go get github.com/gobuffalo/packr/v2/packr2 - go get github.com/gobuffalo/packr/v2/packr2
- go build -o packr2 github.com/gobuffalo/packr/v2/packr2
- name: build - name: build
image: golang image: golang
commands: commands:

View File

@ -22,12 +22,11 @@ build() {
fi fi
echo "Running packr2" echo "Running packr2"
if [[ -f ${GOPATH}/bin/packr2 ]] if [[ -f packr2 ]]
then then
${GOPATH}/bin/packr2 packr2
else else
echo "packr2 binary not found" echo "packr2 binary not found"
echo $(ls /go/bin)
exit 1 exit 1
fi fi