This commit is contained in:
parent
b883a2d1e7
commit
1116096e3e
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user