Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Grunt plugin to copy/move files around
branch: master

This branch is 1 commit behind c4urself:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
tasks
test
LICENSE-MIT
README.md
grunt.js
package.json

README.md

grunt-cp

Copies files (recursively)

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-cp

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-cp');

Documentation

Configure which files to be copied in your initConfig:

grunt.initConfig({

  // ... other configs

  // copy media
  cp: {
    media: {
      src: 'public/media',
      dest: 'dist/media'
    }
  },

  // ... other configs
});

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

  • 8/31/12 - v0.1.0 - Initial release.

License

Copyright (c) 2012 Christian Verkerk Licensed under the MIT license.

Something went wrong with that request. Please try again.