YAML parser confused by colons in shell commands

Hi @mboes,

I don’t believe this is a bug with our parser as it’s just the nature of how YAML works in general by recognizing a colon and a space as a key-value separator. You should be able to work around this by making your circle.yml look like this instead:

dependencies:
  override:
   - |
     echo 'extra-include-dirs: [foo, bar]' > config.yaml

For more information, see “2.3 Scalars” in the YAML spec, or try your YAML out at http://www.yamllint.com/.

Cheers,
Frank

1 Like