remove os.sep and use variants for gobin and goexe
{% set version = "0.5.0" %}
{% set name = goname.split('/')[-1] %}
-{% set pkg_src = ('src/'+goname).replace("/",os.sep) %}
+{% set pkg_src = ('src/'+goname).replace('/','\' if win else '/') %}
package:
name: go-{{ name|lower }}
@@ -29,8 +29,7 @@ test:
requires: # [win]
- m2-coreutils # [win]
commands:
- - test -x ${PREFIX}/bin/dep # [unix]
- - test -f %PREFIX%\bin\dep.exe # [win]
+ - test -x {{target_gobin}}dep{{target_goexe}}
- dep version
about:
