Open nichmor opened 2 months ago
Having following in recipe.yaml:
tests: - requirements: run: - bzip2 script: - if: unix then: - test -f ${PREFIX}/fonts/Inconsolata-Regular.ttf - test -f ${PREFIX}/fonts/Inconsolata-Bold.ttf
will throw an error on windows: help: expected field ``script`` to be a list of commands until you add- echo 'hello'.
help: expected field ``script`` to be a list of commands
- echo 'hello'
I think we need treat if:then as a list in this case or treat it as an empty list
Having following in recipe.yaml:
will throw an error on windows:
help: expected field ``script`` to be a list of commands
until you add- echo 'hello'
.I think we need treat if:then as a list in this case or treat it as an empty list