@ -0,0 +1,22 @@
workspace:
base: /go
path: src/git.aiterp.net/rpdata/api
pipeline:
environment:
- CGO_ENABLED=0
build:
image: golang:1.10
commands:
- dep ensure
- go generate ./...
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/${CMD} ./cmd/${CMD}
matrix:
CMD:
- rpdata-graphiql
- rpdata-lb2charimport
- rpdata-lb2logimport
- rpdata-wikifileimport
- rpdata-ensurechannels
- rpdata-as2storyimport