Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
letsar committed Nov 3, 2018
2 parents 4ab9cc0 + b7e8eae commit a5e81db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 2 additions & 6 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ environment:
sdk: '>=2.0.0 <3.0.0'

dependencies:
kiwi:
path:
../kiwi
kiwi: ^0.1.0

dev_dependencies:
test: ^1.0.0
build_runner: ^0.10.1
kiwi_generator:
path:
../kiwi_generator
kiwi_generator: ^0.1.1
9 changes: 8 additions & 1 deletion kiwi_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ For Flutter the command is different though:
flutter packages pub run build_runner build
```

**Note:** On first attempt to run this command you might encounter a conflict error. If so, please add the --delete-conflicting-outputs argument to your command:

```bash
flutter packages pub run build_runner build --delete-conflicting-outputs
```
(This additional argument allows the command to overwrite the `.g.dart` file if necessary.)

You can also use the `watch` command instead of `build`. This will generate your file when it's saved.

```bash
Expand Down Expand Up @@ -212,4 +219,4 @@ class _$Injector extends Injector {

## Changelog

Please see the [Changelog](https://github.com/letsar/kiwi/blob/master/kiwi_generator/CHANGELOG.md) page to know what's recently changed.
Please see the [Changelog](https://github.com/letsar/kiwi/blob/master/kiwi_generator/CHANGELOG.md) page to know what's recently changed.

0 comments on commit a5e81db

Please sign in to comment.