Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: lib/protobuf/plugin/README

Issue 10595002: Protocol Buffer runtime library and 'protoc' plugin (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Work around http://code.google.com/p/dart/issues/detail?id=3806 Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/protobuf/plugin/ProtocGenDart.dart ('k') | lib/protobuf/plugin/Writer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/protobuf/plugin/README
diff --git a/lib/protobuf/plugin/README b/lib/protobuf/plugin/README
new file mode 100644
index 0000000000000000000000000000000000000000..df5fb37743288b8c6ecdcec4769a24aaa19a509f
--- /dev/null
+++ b/lib/protobuf/plugin/README
@@ -0,0 +1,12 @@
+To compile a Protocol Buffer definition (.proto) file using Dart:
+
+1) Place 'protoc' on your path (source code at: http://code.google.com/p/protobuf/)
+2) Place the 'protoc-gen-dart' script on your path
+3) Place a standalone 'dart' executable on your path
+4) Create an output directory 'out'
+5) Run:
+
+protoc --dart_out=out <proto_file>
+
+For example, 'protoc --dart_out=out descriptor.proto' will create a file out/descriptor.pb.dart
+that should be identical to the pre-compiled version in protoc/descriptor.pb.dart.
« no previous file with comments | « lib/protobuf/plugin/ProtocGenDart.dart ('k') | lib/protobuf/plugin/Writer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698