Skip to content

Commit ec7896c

Browse files
Use dart pub add to add build_runner dependency (#3599)
1 parent 9fe0f98 commit ec7896c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build_runner/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ rebuilds are _incremental_ - inspired by tools such as [Bazel][].
3838
## Installation
3939

4040
This package is intended to support development of Dart projects with
41-
[`package:build`][]. In general, put it under [dev_dependencies][], in your
42-
[`pubspec.yaml`][pubspec].
41+
[`package:build`][]. In general, add it to your [`pubspec.yaml`][pubspec]
42+
as a [dev_dependencies][] by running the following command.
4343

44-
```yaml
45-
dev_dependencies:
46-
build_runner:
44+
```console
45+
$ dart pub add dev:build_runner
4746
```
4847

4948
## Usage

0 commit comments

Comments
 (0)