Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Exclude files from a set #140

Open
moubry opened this issue Aug 28, 2013 · 6 comments
Open

Exclude files from a set #140

moubry opened this issue Aug 28, 2013 · 6 comments
Labels

Comments

@moubry
Copy link

moubry commented Aug 28, 2013

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@7ee638d

Is this kind of feature something anyone would be interested in (besides me)?

@charlesjohnson
Copy link

+1.

@fabiopelosin
Copy link

+1

1 similar comment
@BAjayKrishna
Copy link

+1

@turboladen
Copy link
Owner

Yeah, this is actually something that I think would be really helpful.

@moubry
Copy link
Author

moubry commented Jan 24, 2014

I'll prepare a pull request.

@gretel
Copy link

gretel commented Oct 7, 2015

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants