pub
pub copied to clipboard
Warn against publishing *.dart files with upper-case filenames
If the path to any *.dart file under lib/ or bin/ contains upper-case letters, that includes their parent folders. Then we should warn against this when publishing.
It'll create a mess for people using the package, as import "Folder/File.dart" works great on Windows and Mac, but on Linux we have a case sensitive file-system.
See also https://github.com/dart-lang/sdk/issues/58663