edit build script again
@@ -18,13 +18,18 @@ build:
number: 0
script:
- pushd {{ pkg_src }}
- - go install -v -ldflags "-X main.version={{ version }}" .
+ - go build -v -o $GOBIN/{{ name }} . # [unix]
+ - go build -v -o %GOBIN%\{{ name }}.exe . # [win]
requirements:
build:
- {{ compiler('go') }}
test:
+ requires:
+ - m2-bash # [win]
+ - m2-coreutils # [win]
+
commands:
- oauth2-proxy --version
