Skip to content

Commit 13f1938

Browse files
README.md: Simplify objectbox-c installation command
Co-Authored-By: Ivan Dlugos <6349682+vaind@users.noreply.github.com>
1 parent bd6cebe commit 13f1938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Getting started
3636
---------------
3737
To try out the demo code in this repository, follow these steps:
3838

39-
1. Install [objectbox-c](https://github.com/objectbox/objectbox-c) system-wide: `curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/master/download.sh > /tmp/download.sh && bash /tmp/download.sh 0.7 && rm /tmp/download.sh` (answer Y when it asks about installing to /usr/lib).
39+
1. Install [objectbox-c](https://github.com/objectbox/objectbox-c) system-wide: `bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/master/download.sh) 0.7` (answer Y when it asks about installing to /usr/lib).
4040
2. Back in this repository, run `pub get` in each of the following directories: `objectbox`, `objectbox_model_generator`, `objectbox_test`. If you just want to try out the tests, running it in `objectbox_test` is enough.
4141
3. Move into the `objectbox_test` directory and execute `pub run build_runner build`. This regenerates the ObjectBox model to make it usable in Dart (i.e. the file `test/test.g.dart`) and is necessary each time you add or change a class annotated with `@Entity(...)`.
4242
4. Finally run `pub run test test/test.dart` to run the unit tests.

0 commit comments

Comments
 (0)