herp derp gopath
This commit is contained in:
parent
40a4c84628
commit
c35004ee20
1 changed files with 6 additions and 6 deletions
|
@ -6,9 +6,9 @@ lint:
|
|||
image: golang:latest
|
||||
stage: lint
|
||||
before_script:
|
||||
- mkdir -p /go/git.callpipe.com/finn/signald-go
|
||||
- cp -r * /go/git.callpipe.com/finn/signald-go
|
||||
- cd /go/git.callpipe.com/finn/signald-go
|
||||
- mkdir -p /go/src/git.callpipe.com/finn/signald-go
|
||||
- cp -r * /go/src/git.callpipe.com/finn/signald-go
|
||||
- cd /go/src/git.callpipe.com/finn/signald-go
|
||||
script:
|
||||
- gofmt -d .
|
||||
|
||||
|
@ -16,9 +16,9 @@ build:
|
|||
stage: build
|
||||
image: golang:latest
|
||||
before_script:
|
||||
- mkdir -p /go/git.callpipe.com/finn/signald-go
|
||||
- cp -r * /go/git.callpipe.com/finn/signald-go
|
||||
- cd /go/git.callpipe.com/finn/signald-go
|
||||
- mkdir -p /go/src/git.callpipe.com/finn/signald-go
|
||||
- cp -r * /go/src/git.callpipe.com/finn/signald-go
|
||||
- cd /go/src/git.callpipe.com/finn/signald-go
|
||||
script:
|
||||
- go get ./... # TODO: Improve how dependencies are handled
|
||||
- go build -o "${CI_PROJECT_DIR}/signald-cli" signald-cli
|
||||
|
|
Loading…
Reference in a new issue