update example in readme

This commit is contained in:
David Renshaw 2014-05-19 15:15:38 -04:00
parent 33cd2c7851
commit 971ce0a798

View file

@ -12,7 +12,7 @@ You will need [SBT](http://scala-sbt.org). We recommend [this version](https://g
$ sbt compile
$ echo '(people = [(id = 123, name = "Alice", email = "alice@example.com", employment = (school = "MIT"))])' \
| capnp encode examples/src/main/schema/addressbook.capnp AddressBook \
| java -cp generator/target/scala-2.11/classes:examples/target/scala-2.11/classes/ \
| java -cp runtime/target/scala-2.11/classes:examples/target/scala-2.11/classes/ \
org.capnproto.examples.AddressbookMain read
```