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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 `shelf_static` is a `Handler` for the Dart `shelf` package.
2
3 [![Build Status](https://travis-ci.org/dart-lang/shelf_static.svg?branch=master) ](https://travis-ci.org/dart-lang/shelf_static?branch=master)
4 [![Coverage Status](https://coveralls.io/repos/dart-lang/shelf_static/badge.svg? branch=master&service=github)](https://coveralls.io/github/dart-lang/shelf_stati c?branch=master)
5
6 ### Example
7 ```dart
8 import 'package:shelf/shelf_io.dart' as io;
9 import 'package:shelf_static/shelf_static.dart';
10
11 void main() {
12 var handler = createStaticHandler('example/files',
13 defaultDocument: 'index.html');
14
15 io.serve(handler, 'localhost', 8080);
16 }
17 ```
OLDNEW
« 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