Fix GOBIN on Windows
@@ -21,6 +21,9 @@ build:
script:
- pushd {{ pkg_src }}
- GOBIN=$(go env GOBIN) # [not win]
+ - go env GOBIN > gobin # [win]
+ - set /p GOBIN= < gobin # [win]
+ - del gobin # [win]
- go build -v -o $GOBIN/{{ x4_plugin }} . # [unix]
- go build -v -o %GOBIN%\{{ x4_plugin }} . # [win]
