try this approach
@@ -12,15 +12,17 @@ source:
build:
number: 0
script:
- - export GOBIN=$PREFIX/bin # [not win]
- - make install # [not win]
- - ls -lah cmd/ # [not win]
- - exit 1 # [win]
+ - go build -v -o $PREFIX/bin/buf ./cmd/buf # [not win]
+ - go build -v -o $PREFIX/bin/protoc-gen-buf-breaking ./cmd/protoc-gen-buf-breaking # [not win]
+ - go build -v -o $PREFIX/bin/protoc-gen-buf-lint ./cmd/protoc-gen-buf-lint # [not win]
+
+ - go install -v ./cmd/buf # [win]
+ - go install -v ./cmd/protoc-gen-buf-breaking # [win]
+ - go install -v ./cmd/protoc-gen-buf-lint # [win]
requirements:
build:
- {{ compiler('go') }}
- - make
test:
commands:
