Skip to content

Commit

Permalink
Further cleanup of the tool directory
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Jan 18, 2024
1 parent 3f0281e commit 625a76e
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 99 deletions.
2 changes: 1 addition & 1 deletion tool/dart_site/bin/dart_site.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void main(List<String> args) async {
// Verify that we are running from the root of the website repository.
if (!Directory(path.join('tool', 'dart_site')).existsSync()) {
throw Exception(
'ERROR: Wrong directory, run from root of the repository.',
'Error: Wrong directory, run from root of the repository.',
);
}

Expand Down
2 changes: 1 addition & 1 deletion tool/dart_site/lib/src/commands/test_dart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ int _testDart({
final errorOutput = dartTestOutput.stderr.toString();

// It's ok if the test directory is not found.
if (!errorOutput.contains('No test files were') &&
if (!errorOutput.contains('No test') &&
!normalOutput.contains('Could not find package `test`') &&
!normalOutput.contains('No tests were')) {
stderr.write(normalOutput);
Expand Down
2 changes: 1 addition & 1 deletion tool/dart_site/lib/src/commands/verify_firebase_json.dart
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ int _verifyFirebaseJson() {

if (sources.contains(source)) {
stderr.writeln(
"ERROR: Multiple redirects share the '$source' source.",
"Error: Multiple redirects share the '$source' source.",
);
duplicatesFound += 1;
}
Expand Down
16 changes: 0 additions & 16 deletions tool/dart_tools/README.md

This file was deleted.

1 change: 0 additions & 1 deletion tool/dart_tools/analysis_options.yaml

This file was deleted.

65 changes: 0 additions & 65 deletions tool/dart_tools/bin/update_analyzer_txt.dart

This file was deleted.

14 changes: 0 additions & 14 deletions tool/dart_tools/pubspec.yaml

This file was deleted.

0 comments on commit 625a76e

Please sign in to comment.