fixed conditional for unix systems
@@ -19,7 +19,8 @@ build:
script:
{% set reqfile = "requirements.txt" %}
{% set reqsource = "dimcli.egg-info/requires.txt" %}
- - test -f {{ reqfile }} && cp {{ reqsource }} {{ reqfile }} # [not win]
+ # IF {{ reqfile }} is NOT PRESENT, COPY {{ reqfile }} from {{ reqsource }}
+ - ! test -f {{ reqfile }} && cp {{ reqsource }} {{ reqfile }} # [not win]
- IF NOT EXIST {{ reqfile }} COPY {{ reqsource }} {{ reqfile }} && EXIT # [win]
- {{ PYTHON }} -m pip install . -vv
