UNPKG

grunt-remove

Version:
36 lines (30 loc) 829 B
/* * grunt-remove * https://github.com/nvoinov/grunt-remove * * Copyright (c) 2013 nvoinov * Licensed under the MIT license. */ 'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ // Configuration grunt-remove task. remove: { default_options: { fileList: ['path_to_file_1.extension', 'path_to_file_2.extension'], dirList: ['path_to_dir_1', 'path_to_dir2/'] }, custom_options: { options: { trace: true }, dirList: ['path_to_dir_1', 'path_to_dir2/'] } } }); // These plugins provide necessary tasks. grunt.loadNpmTasks('grunt-contrib-remove'); // By default, lint and run all tests. grunt.registerTask('default', ['remove']); };