Skip to content

Commit bcbbcb8

Browse files
authored
Remove unused. (#4156)
1 parent 210d028 commit bcbbcb8

File tree

7 files changed

+4
-224
lines changed

7 files changed

+4
-224
lines changed

_test/test/doctor_test.dart

Lines changed: 0 additions & 18 deletions
This file was deleted.

build_runner/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
- Bug fix: with `build_runner serve`, special handling of paths containing
44
`/packages/` was hiding actual folders called `packages`. Serve the actual
55
folders first, before trying the package lookup.
6-
- Remove `lib/build_script_generate.dart` and `bin/graph_inspector.dart`.
6+
- Remove undocumented / unused features: `lib/build_script_generate.dart`,
7+
`bin/graph_inspector.dart`, `build_runner doctor` and
8+
`build_runner generate-build-script` commands.
79

810
## 2.7.0
911

build_runner/bin/build_runner.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import 'package:io/ansi.dart';
1616
import 'package:io/io.dart';
1717

1818
import 'src/commands/clean.dart';
19-
import 'src/commands/generate_build_script.dart';
2019

2120
Future<void> main(List<String> args) async {
2221
// Use the actual command runner to parse the args and immediately print the
@@ -26,7 +25,7 @@ Future<void> main(List<String> args) async {
2625
[],
2726
await PackageGraph.forThisPackage(),
2827
);
29-
var localCommands = [CleanCommand(), GenerateBuildScript()];
28+
var localCommands = [CleanCommand()];
3029
var localCommandNames = localCommands.map((c) => c.name).toSet();
3130
for (var command in localCommands) {
3231
commandRunner.addCommand(command);

build_runner/bin/src/commands/generate_build_script.dart

Lines changed: 0 additions & 40 deletions
This file was deleted.

build_runner/lib/src/entrypoint/doctor.dart

Lines changed: 0 additions & 150 deletions
This file was deleted.

build_runner/lib/src/entrypoint/runner.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import 'package:build_runner_core/build_runner_core.dart';
1111
import 'base_command.dart' show lineLength;
1212
import 'build.dart';
1313
import 'daemon.dart';
14-
import 'doctor.dart';
1514
import 'run_script.dart';
1615
import 'serve.dart';
1716
import 'test.dart';
@@ -33,7 +32,6 @@ class BuildCommandRunner extends CommandRunner<int> {
3332
super('build_runner', 'Unified interface for running Dart builds.') {
3433
addCommand(BuildCommand());
3534
addCommand(DaemonCommand());
36-
addCommand(DoctorCommand());
3735
addCommand(RunCommand());
3836
addCommand(ServeCommand());
3937
addCommand(TestCommand(packageGraph));

build_runner/lib/src/generate/directory_watcher_factory.dart

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)