turn windows command into multiline command
@@ -21,7 +21,11 @@ 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(Test-Path -Path {{ reqfile }})) { if (Test-Path -Path {{ reqsource | replace("/", "\") }}) { copy {{ reqsource | replace("/", "\") }} {{ reqfile | replace("/", "\") }} } } # [win]
+ - if (-not(Test-Path -Path {{ reqfile }})) { `
+ if (Test-Path -Path {{ reqsource | replace("/", "\") }}) { `
+ copy {{ reqsource | replace("/", "\") }} {{ reqfile | replace("/", "\") }} `
+ } `
+ } # [win]
- {{ PYTHON }} -m pip install . -vv
requirements:
