File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 99vendor
1010bin
1111dist
12+ .deps /
1213
1314# tests
1415.coverage
Original file line number Diff line number Diff line change @@ -99,16 +99,20 @@ tasks:
9999 open http://localhost:6060/pkg/github.com/DevLabFoundry/configmanager/v2/?m=all
100100 godoc -notes "BUG|TODO" -play -http=:6060
101101
102- build:binary :
102+ go: build:binary :
103103 context : go1x
104104 description : |
105105 Generates binaries in a dist folder
106106 Generates all the binaries for the configmanager utility.
107107 command :
108108 - |
109+ mkdir -p /eirctl/.deps
109110 ldflags="-s -w -X \"github.com/DevLabFoundry/configmanager/v2/cmd/configmanager.Version=${VERSION}\" -X \"github.com/DevLabFoundry/configmanager/v2/cmd/configmanager.Revision=${REVISION}\" -extldflags -static"
110- GOOS=${BUILD_GOOS} GOARCH=${BUILD_GOARCH} CGO_ENABLED=0 go build -mod=readonly -buildvcs=false -ldflags="$ldflags" \
111+ GOPATH=/eirctl/.deps GOOS=${BUILD_GOOS} GOARCH=${BUILD_GOARCH} CGO_ENABLED=0 go build -mod=readonly -buildvcs=false -ldflags="$ldflags" \
111112 -o ./dist/configmanager-${BUILD_GOOS}-${BUILD_GOARCH}${BUILD_SUFFIX} ./cmd
113+ echo "---"
114+ echo "Built: configmanager-${BUILD_GOOS}-${BUILD_GOARCH}${BUILD_SUFFIX}"
115+ echo "Version: ${VERSION}"
112116 reset_context : true
113117 variations :
114118 - BUILD_GOOS : darwin
@@ -168,5 +172,5 @@ pipelines:
168172
169173 build:bin :
170174 - task : clean
171- - task : build:binary
175+ - task : go: build:binary
172176 depends_on : clean
You can’t perform that action at this time.
0 commit comments