mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Part of https://github.com/flutter/flutter/issues/147883. Excluding Fuchsia and the Web SDK, the remaining scripts are: ```sh $ ./tools/find_pubspecs_to_workspacify.sh /Users/matanl/Developer/engine/src/flutter/impeller/tessellator/dart/pubspec.yaml /Users/matanl/Developer/engine/src/flutter/sky/packages/sky_engine/pubspec.yaml /Users/matanl/Developer/engine/src/flutter/shell/vmservice/pubspec.yaml /Users/matanl/Developer/engine/src/flutter/lib/snapshot/pubspec.yaml /Users/matanl/Developer/engine/src/flutter/lib/gpu/pubspec.yaml /Users/matanl/Developer/engine/src/flutter/lib/web_ui/pubspec.yaml /Users/matanl/Developer/engine/src/flutter/flutter_frontend_server/pubspec.yaml ``` These could be the trickiest, so I'm doing them separately.
dir_contents_diff
This tool will compare the contents of a directory to a file that lists the contents of the directory, printing out a patch to apply if they differ.
The exit code is 0 if there is no difference.
Usage
dart run ./bin/dir_contents_diff.dart <golden file path> <dir path>