{"action":"closed","issue":{"url":"https://api.github.com/repos/gunta/grunt-manifest/issues/61","labels_url":"https://api.github.com/repos/gunta/grunt-manifest/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/gunta/grunt-manifest/issues/61/comments","events_url":"https://api.github.com/repos/gunta/grunt-manifest/issues/61/events","html_url":"https://github.com/gunta/grunt-manifest/issues/61","id":115116306,"number":61,"title":"Allow usage of globbing patterns in exclude option","user":{"login":"herrmannplatz","id":174685,"avatar_url":"https://avatars.githubusercontent.com/u/174685?v=3","gravatar_id":"","url":"https://api.github.com/users/herrmannplatz","html_url":"https://github.com/herrmannplatz","followers_url":"https://api.github.com/users/herrmannplatz/followers","following_url":"https://api.github.com/users/herrmannplatz/following{/other_user}","gists_url":"https://api.github.com/users/herrmannplatz/gists{/gist_id}","starred_url":"https://api.github.com/users/herrmannplatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herrmannplatz/subscriptions","organizations_url":"https://api.github.com/users/herrmannplatz/orgs","repos_url":"https://api.github.com/users/herrmannplatz/repos","events_url":"https://api.github.com/users/herrmannplatz/events{/privacy}","received_events_url":"https://api.github.com/users/herrmannplatz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T18:22:43Z","updated_at":"2015-11-04T18:26:16Z","closed_at":"2015-11-04T18:26:16Z","body":"Should be fairly easy to implement by using `grunt.file.isMatch` and it helps a lot when excluding folders or specific files.\r\n\r\n```\r\n// Exclude files\r\nif (options.exclude) {\r\n  files = files.filter(function (item) {\r\n    return !grunt.file.isMatch(options.exclude, item);\r\n  });\r\n}\r\n```\r\n\r\nCan make a PR. If there is somebody out there who can merge it."}}