square/cane

Allow Cane::RakeTask to pick up .cane files in subdirectories

geoffharcourt opened this issue · 1 comments

As it stands, when I put .cane files in subdirectories, those preferences are reflected for files that fall in or under the same branch of directory hierarchy when I run cane from the command line. However, Cane::RakeTask only picks up preferences established in a .cane file in the root folder rather than subfolders.

If you want to use cane for CI but have certain checks you want to ignore for certain folders, that doesn't seem possible right now with a single rake task.

Why don't the --*-exclude options don't work for you?