mirror of
https://github.com/flutter/samples.git
synced 2026-06-11 00:38:39 +00:00
Replace pub run usages with dart run (#2777)
Following up on https://github.com/dart-lang/pub/issues/4737, this PR replaces deprecated `pub run` commands with `dart run`.
This commit is contained in:
@@ -32,7 +32,7 @@ Future<void> generateJsonBindings() async => _logProcessOutput(
|
||||
|
||||
@Task()
|
||||
Future<void> watch() async => _logProcessOutput(
|
||||
Process.start('flutter', ['pub', 'run', 'build_runner', 'watch']),
|
||||
Process.start('dart', ['run', 'build_runner', 'watch']),
|
||||
);
|
||||
|
||||
@Task()
|
||||
|
||||
Reference in New Issue
Block a user