-
Notifications
You must be signed in to change notification settings - Fork 107
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
How to filter input by extension ? #530
Comments
This package would need to add a named argument to support setting the input extension. Note that for technical reasons we don't validate the extensions match in the build.yaml and the code (they are used for different things and at different stages). The one you put in code is what determines the true inputs though. We do validate it if you run the |
Hi @jakemac53 , can you provide an example on how to do this? Sorry I don't quite get what you mean by "The one you put in code is what determines the true inputs". I'm dealing with the same issue I want to strictly only consider dart files ending with |
All The |
The buildExtensions in
builder.dart
is.dart
It builds for any dart file
buildExtensions = { '.dart': [generatedExtension]..addAll(additionalOutputExtensions) },
So even if in build.yaml, I set the build input to
.source.dart
It ignores the
".source.dart"
and still runs on any dart file.The text was updated successfully, but these errors were encountered: