aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSarah Zakarias <szakarias@gmail.com>2018-10-23 10:36:46 +0200
committerSarah Zakarias <szakarias@gmail.com>2018-10-23 10:36:46 +0200
commitf075cacaf4f453c3083efa1bbbe7ad6f469e2cec (patch)
treed5fa21ce9c7fb5c9d572c6a820ade14b0ceec742 /examples
parentbc00484bf77225cdad8f0125ca065ee5ccc756e2 (diff)
downloadprotobuf-f075cacaf4f453c3083efa1bbbe7ad6f469e2cec.tar.gz
comments
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile3
-rw-r--r--examples/README.md4
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.