0.5.3 • Published 11 years ago
grunt-hash-manifest v0.5.3
grunt-hash-manifest 
Creates manifest of files and associated hashes
Getting Started
This plugin requires Grunt ~0.4.0
npm install grunt-hash-manifest --save-devOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-hash-manifest');*This plugin was designed to work with Grunt 0.4.x.
Options
algospecifies which hashing algorithm to use. The default ismd5. The choices are limited to what node'scryptomodule supports.cwdis the directory in which to expand the globbing patterns as well as the root fordestformatis the output format. It can betxtorjson. Default istxt
Usage Examples
"hash-manifest": {
dist: {
options: {
algo: "md5",
cwd: "dist"
},
src: [ "**/*" ],
dest: "MANIFEST"
}
}