News for hackers. Stuff that matters.
Re:Gulp.js: The streaming build system by cwbrandsma on Thursday August 21, 2014 @11:56AM (#8207966)
The grunt config is javascript, not json. So you can write custom tasks code in your grunt config.

For instance, I wrote a custom tag to modify specific pages to inject javascript include statements in HTML pages. There is probably a plugin for that, but I was able to write the code in 15 minutes so I didn't care.

Re:Gulp.js: The streaming build system by Guillaume86 on Thursday August 21, 2014 @12:09PM (#8208056)
I use https://www.npmjs.org/package/gulp-inject to do it with gulp, works fine
Re:Gulp.js: The streaming build system by vlunkr on Thursday August 21, 2014 @01:12PM (#8208412)
I know it is, but the majority of the tasks are configured in one big hash.
Re:Gulp.js: The streaming build system by mattdawson on Thursday August 21, 2014 @01:40PM (#8208579)
Yeah, but it's also trivially easy to wrap a 3rd party task in your own task and munge the config at run time. (I'll admit that that pattern didn't become apparent to me until after using Grunt for some months, but once I saw you could do that, many things that seemed onerous got easier.)