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

jake.exec could just be exec #218

Closed OscarGodson closed 11 years ago

OscarGodson commented 11 years ago

All other jake functions are just task, namespace, etc. Why is jake.exec not exec?

mde commented 11 years ago

I think mostly because I've often seen child_process.exec aliased to exec. Seems like it could be a source of confusion. Thoughts?

OscarGodson commented 11 years ago

Oh, if you've seen that a lot then that makes sense. I've never seen that personally, but I don't do a lot of Node work out of my own work. I can always alias it myself :)

mde commented 11 years ago

Personally, I'd rather have the simpler name for it, but I'm worried about how easy it would be for people to fuck it up with their own local require of child_process.exec. A local alias seems like a reasonable workaround. I'll go ahead and close this.