grunt-checkout-index
v0.1.4
Published
Checkout files from git index.
Downloads
3
Readme
grunt-checkout-index v0.0.0
Checkout files from git index.
Maybe you want use code quality tools(such as jshint, jscs) check your code before git-commit. Use this tool checkout all files in git-index to a directory...
Getting Started
This plugin requires Grunt >=0.4.0
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-checkout-index --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-checkout-index');
Checkout-index task
Run this task with the grunt checkoutIndex
command.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
Options
targetDirectory
Type: String
Default: null
You should give this option to point where to save your files.
clean
Type: Boolean
Default: true
Clean the target directory before checkout files.