Skip to content

Commit 7e6a68b

Browse files
committed
Rename BuildRunnerCommandBase -> CommandBase
1 parent 1ec3657 commit 7e6a68b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

webdev/lib/src/command/build_command.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
import 'dart:async';
6-
import 'build_runner_command_base.dart';
6+
import 'command_base.dart';
77

88
/// Command to execute pub run build_runner build.
9-
class BuildCommand extends BuildRunnerCommandBase {
9+
class BuildCommand extends CommandBase {
1010
BuildCommand() : super(releaseDefault: true);
1111

1212
@override

webdev/lib/src/command/build_runner_command_base.dart renamed to webdev/lib/src/command/command_base.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ const _verbose = 'verbose';
1919

2020
/// Extend to get a command with the arguments common to all build_runner
2121
/// commands.
22-
abstract class BuildRunnerCommandBase extends Command<int> {
22+
abstract class CommandBase extends Command<int> {
2323
final bool releaseDefault;
2424

25-
BuildRunnerCommandBase({@required this.releaseDefault}) {
25+
CommandBase({@required this.releaseDefault}) {
2626
// TODO(nshahan) Expose more common args passed to build_runner commands.
2727
// build_runner might expose args for use in wrapping scripts like this one.
2828
argParser

webdev/lib/src/command/serve_command.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
import 'dart:async';
66

7-
import 'build_runner_command_base.dart';
7+
import 'command_base.dart';
88

99
/// Command to execute pub run build_runner serve.
10-
class ServeCommand extends BuildRunnerCommandBase {
10+
class ServeCommand extends CommandBase {
1111
@override
1212
final name = 'serve';
1313

0 commit comments

Comments
 (0)