tailor
tailor copied to clipboard
Exclude files from a set
Being able to exclude specific files from a set would be super convenient for me:
require 'tailor/rake_task'
Tailor::RakeTask.new do |task|
task.file_set 'lib/**/*.rb', 'libraries', [
'lib/app_agent.rb',
'lib/progress_bar.rb',
'lib/report_generator.rb'
]
end
I'm cleaning-up a pretty linty app and it would be nice to run Tailor over every file in a folder, except for a few nightmarish ones.
Roughly sketched out here: moubry/tailor@7ee638d55649e63146345f8b05161cbfd8ad6a0c
Is this kind of feature something anyone would be interested in (besides me)?
+1.
+1
+1
Yeah, this is actually something that I think would be really helpful.
I'll prepare a pull request.
+1