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

Unified Diff: mojo/public/dart/third_party/shelf_static/README.md

Issue 1346773002: Stop running pub get at gclient sync time and fix build bugs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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
Index: mojo/public/dart/third_party/shelf_static/README.md
diff --git a/mojo/public/dart/third_party/shelf_static/README.md b/mojo/public/dart/third_party/shelf_static/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..ffe0e26cc5d27bfc177ee47fb163059d0ba2579c
--- /dev/null
+++ b/mojo/public/dart/third_party/shelf_static/README.md
@@ -0,0 +1,17 @@
+`shelf_static` is a `Handler` for the Dart `shelf` package.
+
+[![Build Status](https://travis-ci.org/dart-lang/shelf_static.svg?branch=master)](https://travis-ci.org/dart-lang/shelf_static?branch=master)
+[![Coverage Status](https://coveralls.io/repos/dart-lang/shelf_static/badge.svg?branch=master&service=github)](https://coveralls.io/github/dart-lang/shelf_static?branch=master)
+
+### Example
+```dart
+import 'package:shelf/shelf_io.dart' as io;
+import 'package:shelf_static/shelf_static.dart';
+
+void main() {
+ var handler = createStaticHandler('example/files',
+ defaultDocument: 'index.html');
+
+ io.serve(handler, 'localhost', 8080);
+}
+```
« no previous file with comments | « mojo/public/dart/third_party/shelf_static/LICENSE ('k') | mojo/public/dart/third_party/shelf_static/codereview.settings » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698