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 arguments couldnt' contain equal symbol #312

Closed welearnednothing closed 4 years ago

welearnednothing commented 8 years ago

Fixes #311

This still needs unit tests, but I want to make sure the approach doesn't miss some other edge case. However, this will break scripts that have an env variable with a [ in the name, unfortunately. I'm not sure if there's a way around that.

We could enforce that env names adhere to the POSIX standard: a word consisting solely of underscores, digits, and alphabetics from the portable character set. The first character of a name is not a digit