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