FlutterGen / flutter_gen

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
https://pub.dev/packages/flutter_gen
MIT License
1.44k stars 142 forks source link

[Feature Request] Expose config for excluding gen files #60

Closed vintage closed 3 years ago

vintage commented 3 years ago

I've been generating the assets and got surprised by unexpected records. Well, its kinda expected (the file exists there), but would be great to ignore these, as I don't treat .DS_Store as my project files :)

...
String get dSStore => 'animations/.DS_Store';
...

Any chance to expose exclude config (similar to the one we have in analasis_options.yaml) or at least ignore some well known files by default? <3

wasabeef commented 3 years ago

@vintage Thank you for your report.

We just released 1.3.1 please use it. 🎯

$ brew upgrade fluttergen/tap/fluttergen
$ dart pub global activate flutter_gen
vintage commented 3 years ago

@wasabeef Wow, thank you for the instant fix! Upgraded to 1.3.1 and the problem is gone :)