Skip to content

Commit 2467861

Browse files
authored
Merge pull request #83 from dart-lang/mit-mit-badges
Add badges
2 parents 818ccd0 + 03b1fa6 commit 2467861

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
1-
Protoc compiler Dart plugin
2-
===========================
1+
# Dart plugin for the protoc compiler
32

4-
This repository provides a plugin for the [protoc compiler](https://developers.google.com/protocol-buffers/docs/cpptutorial#compiling-your-protocol-buffers).
3+
[![Build Status](https://travis-ci.org/dart-lang/dart-protoc-plugin.svg?branch=master)](https://travis-ci.org/dart-lang/dart-protoc-plugin)
4+
[![pub package](https://img.shields.io/pub/v/protoc_plugin.svg)](https://pub.dartlang.org/packages/protoc_plugin)
5+
6+
This repository provides a plugin for the [protoc
7+
compiler](https://developers.google.com/protocol-buffers/docs/cpptutorial#compiling-your-protocol-buffers).
58
It generates Dart files for working with data in protocol buffers format. At
6-
this time we only support [proto2](https://developers.google.com/protocol-buffers/docs/proto), but proto3 may work
7-
in simple cases due to backwards compatibility.
9+
this time we only support
10+
[proto2](https://developers.google.com/protocol-buffers/docs/proto), but proto3
11+
may work in simple cases due to backwards compatibility.
812

913
Requirements
1014
------------
1115

12-
To compile a .proto file, you must use the 'protoc' command which is
13-
[installed separately](https://developers.google.com/protocol-buffers/docs/downloads).
16+
To compile a .proto file, you must use the 'protoc' command which is [installed
17+
separately](https://developers.google.com/protocol-buffers/docs/downloads).
1418
Protobuf 3.0.0 or above is required.
1519

1620
The generated files are pure Dart code that run in either in the Dart VM or in a
17-
browser (using dart2js). They depend the [protobuf Dart package](https://pub.dartlang.org/packages/protobuf). A Dart project that includes
18-
generated files should add "protobuf" to its pubspec.yaml file.
21+
browser (using dart2js). They depend the [protobuf Dart
22+
package](https://pub.dartlang.org/packages/protobuf). A Dart project that
23+
includes generated files should add "protobuf" to its pubspec.yaml file.
24+
1925

2026
How to build and use
2127
--------------------

0 commit comments

Comments
 (0)