-
Notifications
You must be signed in to change notification settings - Fork 86
Add command line parameter to ignore specific projects #46
Comments
Added argument parsing with unit tests. |
Written docs: When specific projects should be ignored, use the -ignore option. This option accepts a comma separated list of projects to ignore:
Note that the ignore list uses Contains([ignoredProject]) to ignore items, so when use Windows, WindowsPhone will be ignored as well |
Great! Maybe the ignore names could match by regular expressions? And multiple -ignore options could be allowed to avoid the comma separated list?
|
I am really bad with regex, but feel free to pr :) |
I think using Contains() is not really a good idea. Why not an exact (upper invriant) match using ToUpper() by default and maybe later with Regex support? EDIT: sorry, case invariance is already there with ToLower |
What would you propose instead? If you paste the code here, I will change it. |
Hhm, just without .Contains (see my comment on L33). And maybe later someone could add Regex support on the same place. This allows to really exclude single projects and not all projects containing the specified string. |
Changing it now. |
Now uses string.Equals() instead of .Contains to ignore projects. |
Initiated by oxyplot/oxyplot#284
something like -ignore [path-to-csproj], comma separated. When walking though the sln, you just ignore the matching entries.
The text was updated successfully, but these errors were encountered: