using powershell commands for windows build
@@ -21,7 +21,8 @@ build:
{% set reqsource = "dimcli.egg-info/requires.txt" %}
# IF {{ reqfile }} is NOT PRESENT, COPY {{ reqfile }} from {{ reqsource }}
- if [ ! -f {{ reqfile }} ] && [ -f {{ reqsource }} ]; then cp {{ reqsource }} {{ reqfile }}; fi # [not win]
- - echo "IF NOT EXIST {{ reqfile }} ( IF EXIST {{ reqsource }} COPY {{ reqsource }} {{ reqfile }} ) )" | cmd.exe # [win]
+ ## - echo "IF NOT EXIST {{ reqfile }} ( IF EXIST {{ reqsource }} COPY {{ reqsource }} {{ reqfile }} ) )" | cmd.exe # [win]
+ - IF (-NOT(TEST-PATH -PATH {{ reqfile }})) { IF (TEST-PATH -PATH {{ reqsource }}) { COPY {{ reqsource }} {{ reqfile }} } } # [win]
- {{ PYTHON }} -m pip install . -vv
requirements:
