using cmd
execute custom commands in powershell for windows build
@@ -21,7 +21,7 @@ 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]
- - IF NOT EXIST {{ reqfile }} IF EXIST {{ reqsource }} COPY {{ reqsource }} {{ reqfile }} # [win]
+ - echo "IF NOT EXIST {{ reqfile }} ( IF EXIST {{ reqsource }} COPY {{ reqsource }} {{ reqfile }} ) )" | cmd.exe # [win]
- {{ PYTHON }} -m pip install . -vv
requirements:
