Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
f075caca
Commit
f075caca
authored
Oct 23, 2018
by
Sarah Zakarias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments
parent
bc00484b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile
examples/Makefile
+1
-2
README.md
examples/README.md
+2
-2
No files found.
examples/Makefile
View file @
f075caca
...
...
@@ -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
...
...
examples/README.md
View file @
f075caca
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment