Grunt works great on all those platforms!
ShellJS is awesome. It's basically Unix shell commands for Node.js, which is excellent if you want to write a makefile equivalent in JavaScript. If, on the other hand, you want to execute web developer-centric tasks…
And this behavior is totally obvious (not) var id = 123; function updateOptionalProperty(obj) { with (obj) { id = 456; } } updateOptionalProperty({id: 0}); id // 123 updateOptionalProperty({}); id // 456
Ok, here's a first pass... http://jsfiddle.net/cowboy/FB9Nd/show/
Grunt works great on all those platforms!
ShellJS is awesome. It's basically Unix shell commands for Node.js, which is excellent if you want to write a makefile equivalent in JavaScript. If, on the other hand, you want to execute web developer-centric tasks…
And this behavior is totally obvious (not) var id = 123; function updateOptionalProperty(obj) { with (obj) { id = 456; } } updateOptionalProperty({id: 0}); id // 123 updateOptionalProperty({}); id // 456
Ok, here's a first pass... http://jsfiddle.net/cowboy/FB9Nd/show/