added ignore using minimatch

Not sure how you want to test the options.