0.1.3 • Published 10 years ago

grunt-find v0.1.3

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

grunt-find Build Status

Faster dynamic file expansion. Search thousands of files in milliseconds instead of decaseconds. Filter by modification time. Backed by find

npm install --save-dev grunt-find

Example

grunt.loadNpmTasks('grunt-find');
grunt.loadNpmTasks('grunt-contrib-coffee');

grunt.initConfig({
  find: {
    coffee: {
      name: '*.coffee',
      prune: 'node_module'
      expand: true,
      dest: 'lib/',
      ext: '.js',
      config: 'coffee.all.files'
    }
  },
});

grunt.registerTask('default', ['find:coffee', 'coffee']);

Check out the Gruntfile for more examples.

Configuration

name, prune, newer

Pattern(s) to match against filename path components. name includes. prune excludes.

config

Grunt config path to store matched files. Set this to the file configuration of another task instead of configuring that task directly to speed up file matching.

cwd, dest, ext, expand

Same as grunt

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.0.0

10 years ago