Skip to content

Instantly share code, notes, and snippets.

@beresmate
Last active December 25, 2015 08:49
Show Gist options
  • Save beresmate/6949675 to your computer and use it in GitHub Desktop.
Save beresmate/6949675 to your computer and use it in GitHub Desktop.
// https://github.com/gawkermedia/kinja-mantle/blob/grunt-soy/build/mantle.js#L51
jsFilesExceptLib: function () {
return global.mantle.getCachedList('jsFilesExceptLib.txt', function () {
//return _.map(_.filter(grunt.file.expand({..
});
}
// https://github.com/gruntjs/grunt/wiki/grunt.file#gruntfileexpand
// This method accepts either comma separated globbing patterns or an array of globbing patterns.
// Paths matching patterns that begin with ! will be excluded from the returned array.
// Patterns are processed in order, so inclusion and exclusion order is significant.
filteredlist: [
'js/**/*.js',
'!js/lib/**/*.js',
'!js/templates/**/*.js'
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment