Skip to content

jmanero/ignorefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ignorefile

Compile a set of ignore statements from files and code.

Usage

reqire 'ignorefile'

cookbook_files = Dir.glob('**/{*,.*}')
ignore = IgnoreFile.new('.gitignore', 'chefignore', ['.git/*'])

ignore.apply!(cookbook_files)

Thanks

This gem is based upon Seth Vargo's buff-ignore.

About

Compile a set of ignore statements from files and code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages