Skip to content

Commit e4de5c1

Browse files
committed
doc: replace pub run with dart run
1 parent 93bf967 commit e4de5c1

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/file.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ jobs:
5151
sdk: ${{ matrix.sdk }}
5252

5353
- run: dart pub get
54-
- run: dart pub run test -j1
54+
- run: dart run test -j1

pkgs/coverage/test/test_files/main_test.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgs/pubspec_parse/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Read about `build.yaml` at https://pub.dev/packages/build_config
2-
# To update generated code, run `pub run build_runner build`
2+
# To update generated code, run `dart run build_runner build`
33
targets:
44
$default:
55
builders:

pkgs/timing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ print('${tracker.duration} ${tracker.innerDuration} ${tracker.slices}');
2121
Use the following command to re-generate `lib/src/timing.g.dart` file:
2222

2323
```bash
24-
dart pub run build_runner build
24+
dart run build_runner build
2525
```
2626

2727
## Publishing automation

pkgs/yaml_edit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Testing is done in two strategies: Unit testing (`/test/editor_test.dart`) and
5353
Golden testing (`/test/golden_test.dart`). More information on Golden testing
5454
and the input/output format can be found at `/test/testdata/README.md`.
5555

56-
These tests are automatically run with `pub run test`.
56+
These tests are automatically run with `dart run test`.
5757

5858
## Limitations
5959

pkgs/yaml_edit/test/testdata/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ When the tests are run (see [Running Tests](#Running-Tests)), the series of spec
1515

1616
## Running Tests
1717

18-
By default, golden testing is performed with `pub run test`. If we only wanted to
19-
performed golden testing, simply do: `pub run test test/golden_test.dart`.
18+
By default, golden testing is performed with `dart run test`. If we only wanted to
19+
performed golden testing, simply do: `dart run test test/golden_test.dart`.
2020

2121
## Input Format
2222

0 commit comments

Comments
 (0)