Skip to content

Commit e481959

Browse files
author
Ivan Dlugos
committed
doc: add build_runner info to the readme
1 parent 93759ce commit e481959

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Proceed based on whether you're developing a Flutter app or a standalone dart pr
2323
implementation "io.objectbox:objectbox-android:2.4.1"
2424
...
2525
```
26-
* iOS coming soon
26+
* iOS coming soon
2727
1. **Dart standalone programs**:
2828
* Install the packages `pub get`
2929
* Install [objectbox-c](https://github.com/objectbox/objectbox-c) system-wide:
@@ -42,6 +42,8 @@ Proceed based on whether you're developing a Flutter app or a standalone dart pr
4242
```
4343
Then copy the downloaded `lib/objectbox.dll` to `C:\Windows\System32\` (requires admin privileges).
4444

45+
ObjectBox generates code binding code for classes you want stored based using build_runner.
46+
After you've defined your persisted entities (see below), run `pub run build_runner build` or `flutter pub run build_runner build`.
4547

4648
Getting started
4749
----------------

0 commit comments

Comments
 (0)