Skip to content

Commit

Permalink
Adjusted to put main.dart in lib
Browse files Browse the repository at this point in the history
  • Loading branch information
eernstg committed Aug 17, 2018
1 parent 79a9418 commit 10a1149
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ This is a completely minimal example, just enough to check that
it is possible to use reflectable to generate code for obtaining
reflection support, also in the context of Flutter.

Commands used to get started:
Commands used to get started (unfortunately we have to rename the directory,
because the repo name was chosen before I knew that the dash creates problems
with some tools):

```console
git clone https://github.com/eernstg/reflectable-flutter
cd reflectable-flutter
mv reflectable-flutter reflectable_flutter
cd reflectable_flutter
flutter doctor # just checking
flutter pub get
flutter packages pub run build_runner build test
# Runnable from Android Studio on an Android device.
flutter packages get
flutter packages pub run build_runner build
flutter run
```

2 changes: 1 addition & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ targets:
builders:
reflectable:
generate_for:
- test/**.dart
- lib/main.dart
options:
formatted: true
File renamed without changes.

0 comments on commit 10a1149

Please sign in to comment.