jakejs / jake

JavaScript build tool, similar to Make or Rake. Built to work with Node.js.
http://jakejs.com
Apache License 2.0
1.97k stars 190 forks source link

Task titles do not allow colons #252

Open danfinlay opened 10 years ago

danfinlay commented 10 years ago

I just ran into this today, spent a little time tracking it down. At the very least putting this out there to help others find what might be their problem.

ben-ng commented 10 years ago

Pretty sure we cant remove this because so much depends on it, but we could do better to document it and throw a meaningful error if someone does try to use a colon.

danfinlay commented 10 years ago

Yeah, I think an informative error would be good enough, could just run a check before applying the string to whatever can't have a colon.

mde commented 10 years ago

A nicer longer-term fix might be to allow escaped colons, and only using non-escaped ones as the namespace delimiter.