-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File matching regexes with different level mappings #92
Comments
Just make your command as |
@spolischook Agreed. However, it is not all code that is written that way and some people may want to use |
Is it possible to remove files from compare by regexp path? |
@spolischook At the moment, regexes are not supposed by the file finder, so it is not possible to include/exclude files by regex. |
I'm using php-semver-checker compare ./$BASE_VERSION_DIR ./$PR_VERSION_DIR --exclude-after=*/Tests/,*/TestFrameworkBundle/ --exclude-before=*/Tests/,*/TestFrameworkBundle/ and it's works for me! |
@spolischook It does support some form of |
It might be interesting to allow users to define level mapping based on some form of regex matching.
For example, given a regex that matches a
Console/Commands
directory, we want to apply at mostMINOR
levels as we are not expecting users to be inheriting from these commands.Issue:
The text was updated successfully, but these errors were encountered: