Sarah Zakarias 7 years ago
parent
commit
f075cacaf4
2 changed files with 3 additions and 4 deletions
  1. 1 2
      examples/Makefile
  2. 2 2
      examples/README.md

+ 1 - 2
examples/Makefile

@@ -35,8 +35,7 @@ protoc_middleman_go: addressbook.proto
 
 
 protoc_middleman_dart: addressbook.proto
 protoc_middleman_dart: addressbook.proto
 	mkdir -p dart_tutorial # make directory for the dart package
 	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
 	pub get
 	@touch protoc_middleman_dart
 	@touch protoc_middleman_dart
 
 

+ 2 - 2
examples/README.md

@@ -135,8 +135,8 @@ Build the Dart samples in this directory with `make dart`.
 To run the examples:
 To run the examples:
 
 
 ```sh
 ```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.
 The two programs take a protocol buffer encoded file as their parameter.