Skip to content

Instantly share code, notes, and snippets.

@adammcarth
Created September 28, 2015 15:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adammcarth/d05f64f65a2662126f6c to your computer and use it in GitHub Desktop.
Save adammcarth/d05f64f65a2662126f6c to your computer and use it in GitHub Desktop.
gulp.task("concat:js", function() {
// Loop through each JS collection and run a seperate concat task
Object.keys(collections.js).forEach(function(name) {
gulp.src(collections.js[name])
.pipe(concatJS("collections/" + name + ".js"))
.pipe(gulp.dest(paths.dest.javascript));
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment