grunt-rmlines
v2.0.0
Published
My hunky-dory module
Downloads
5
Readme
grunt-rmlines
A line-remover plugin for
Grunt
Thin wrapper around rmlines
to make it a Grunt plugin.
Also available as a gulp plugin.
Install
$ npm install --save grunt-rmlines
Usage
'use strict';
module.exports = function (grunt) {
grunt.initConfig({
rmlines: {
dist: {
files: [{
expand: false,
cwd: 'fixtures/',
src: '*initial.txt',
dest: 'tmp/'
}],
lines: [2, 4],
options: {
maxLength: 30
}
}
}
});
grunt.loadNpmTasks('grunt-rmlines');
grunt.registerTask('default', [
'rmlines'
]);
};
Options
See rmlines
's options, which are all supported.
Related
- rmlines | API for rmlines
- rmlines-cli | CLI for rmlines
- gulp-rmlines | rmlines as a
gulp
plugin
License
MIT © t1st3