diff options
author | Sarah Zakarias <szakarias@gmail.com> | 2018-10-23 10:36:46 +0200 |
---|---|---|
committer | Sarah Zakarias <szakarias@gmail.com> | 2018-10-23 10:36:46 +0200 |
commit | f075cacaf4f453c3083efa1bbbe7ad6f469e2cec (patch) | |
tree | d5fa21ce9c7fb5c9d572c6a820ade14b0ceec742 /examples | |
parent | bc00484bf77225cdad8f0125ca065ee5ccc756e2 (diff) | |
download | protobuf-f075cacaf4f453c3083efa1bbbe7ad6f469e2cec.tar.gz |
comments
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile | 3 | ||||
-rw-r--r-- | examples/README.md | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/examples/Makefile b/examples/Makefile index 39254bba4..4ad605641 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -35,8 +35,7 @@ protoc_middleman_go: addressbook.proto protoc_middleman_dart: addressbook.proto mkdir -p dart_tutorial # make directory for the dart package - protoc $$PROTO_PATH --dart_out=dart_tutorial addressbook.proto - protoc -I../src/ --dart_out=dart_tutorial ../src/google/protobuf/timestamp.proto + protoc -I ../src/:. --dart_out=dart_tutorial addressbook.proto ../src/google/protobuf/timestamp.proto pub get @touch protoc_middleman_dart diff --git a/examples/README.md b/examples/README.md index 843fdd661..3eb63527b 100644 --- a/examples/README.md +++ b/examples/README.md @@ -135,8 +135,8 @@ Build the Dart samples in this directory with `make dart`. To run the examples: ```sh - $ dart add_person.dart addessbook.data - $ dart list_people.dart addressbook.data +$ dart add_person.dart addessbook.data +$ dart list_people.dart addressbook.data ``` The two programs take a protocol buffer encoded file as their parameter. |