0.1.5 • Published 9 years ago

grunt-contrib-copy-only-newer v0.1.5

Weekly downloads
7
License
-
Repository
github
Last release
9 years ago

grunt-contrib-copy-only-newer

Description

This module offers a function that allows configuring the grunt-contrib-copy task.

Usage

module.exports = function(grunt) {
    var onlyNewer = require('grunt-contrib-copy-only-newer')
                        .onlyNewerBuilder(grunt);
    // configuration for the plugins.
    grunt.initConfig({
        copy: {
            dist : {
                files: [
                    {
                        expand: true,
                        cwd: 'src/',
                        src: ['**'],
                        dest: 'dest/',
                        filter: onlyNewer("copy:dist") }
                ]
            }
        }
    });
    // following grunt configuration.
};
0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago