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

View File

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