You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
387 B

  1. module.exports = function(grunt) {
  2. grunt.log.writeln('foo', 'bar', 'baz');
  3. grunt.initConfig({
  4. clean: {
  5. all: [
  6. 'deep/**',
  7. ],
  8. exclude: [
  9. 'deep/**',
  10. '!deep/deep.txt'
  11. ],
  12. }
  13. });
  14. grunt.registerMultiTask('clean', function() {
  15. this.filesSrc.forEach(function(filepath) {
  16. console.log('delete', filepath);
  17. });
  18. });
  19. };