grunt-dispatch

copy the necessary files of package/components directory to your src/build directory

npm install grunt-dispatch
6 downloads in the last day
17 downloads in the last week
33 downloads in the last month

grunt-dispatch

  • Grunt tasks for copying the necessary files of package/components directory to your src/build directory

Config Example

dispatch: {
    options: {
        directory: "bower_components"
    },
    "ozjs": {
        use: {
            "js/lib/": "oz.js"
        }
    },
    "mo": {
        use: {
            "js/mod/mo/": ["**/*.js", "!**/Gruntfile.js"]
        }
    },
    "moui": {
        use: [{
            cwd: "css/moui",
            src: ["**"],
            dest: "css/moui/"
        }, {
            cwd: "asset",
            src: ["**"],
            dest: "pics/"
        }, {
            src: ["**/*.js", "!**/Gruntfile.js"],
            dest: "js/mod/moui/"
        }]
    }
}

Source code

More References

See OzJS Project Homepage

Release History

See OzJS Release History

License

Copyright (c) 2010 - 2013 dexteryy
Licensed under the MIT license.

npm loves you