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

Side by Side Diff: pkg/fletchc/lib/src/verbs/x_discover_verb.dart

Issue 1422853009: Add mDNS discovery to the Fletch compiler (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 1 month 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 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file.
4
5 library fletchc.verbs.x_upgrade_verb;
wibling 2015/11/10 12:46:34 NIT: x_upgrade -> x_discover
Søren Gjesse 2015/11/10 15:55:11 Done.
6
7 import 'infrastructure.dart';
8
9 import 'documentation.dart' show
10 discoverDocumentation;
11
12 import '../driver/developer.dart' show
13 discoverDevices;
14
15 const Action discoverAction =
16 const Action(discover, discoverDocumentation);
17
18 Future<int> discover(AnalyzedSentence sentence, VerbContext context) async {
19 await discoverDevices();
20 return 1;
21 }
OLDNEW
« pkg/fletchc/lib/src/driver/developer.dart ('K') | « pkg/fletchc/lib/src/verbs/documentation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698