ultra-runner
ultra-runner copied to clipboard
feat: allow multiple filters
My first approach was trying to use minimatch instead of globrex
. Minimatch allow patterns like */+(lib1|lib2)
. The problem with this syntax is that it could conflict with the syntax to include the dependencies.
Finally, I decided to update the options parser to accept an array of filters.
Example:
ultra -r --filter "*/lib1" --filter "*/lib2" build
This feature was already requested on https://github.com/folke/ultra-runner/issues/182