objectbox-dart
objectbox-dart copied to clipboard
dart pub publish gitignore parsing is broken in Flutter 2.5.0
Publish with last stable Flutter+Dart (2.2.3 and 2.13.4) to correctly exclude all ignored files.
Wait with upgrading until
- https://github.com/dart-lang/pub/pull/3126
- https://github.com/dart-lang/pub/pull/3169
are included in https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel
Flutter 2.8.1 appears to look good using dart pub publish --dry-run.
Still broken in Flutter 2.10.2 with Dart 2.16.1. Rules that only apply to the current directory are ignored.
E.g. for the Flutter example in objectbox/example/flutter/objectbox_demo/android/.gitignore:
/local.properties
For now changed rules to not use / at the beginning.
Above issue still exists with Flutter 2.10.5.
Gave up on checking this, as said modified .gitignore files to work with it.