Skip to content

Commit 180c137

Browse files
authored
Merge pull request #286 from GrzegorzBobryk/documentation/update-build-runner-command
[Documentation] Update build runner command
2 parents 85083e1 + 260dee6 commit 180c137

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/dart_mappable/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ to the mixin (`... with MyClassMappable<T>`).*
8888
In order to generate the serialization code, run the following command:
8989

9090
```shell script
91-
dart pub run build_runner build
91+
dart run build_runner build
9292
```
9393

9494
***Tip**: You'll need to re-run code generation each time you are making changes to your annotated classes.
95-
During development, you can use `watch` to automatically watch your changes: `dart pub run build_runner watch`.*
95+
During development, you can use `watch` to automatically watch your changes: `dart run build_runner watch`.*
9696

9797
This will generate a `<filename>.mapper.dart` file for each of your files containing annotated classes.
9898

0 commit comments

Comments
 (0)