diff --git a/examples/Makefile b/examples/Makefile index 39254bba4a..4ad605641d 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 843fdd6616..3eb63527b7 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.