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

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: Fixed warning in test 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
« no previous file with comments | « pkg/fletchc/lib/src/verbs/documentation.dart ('k') | pkg/mdns/lib/mdns.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_discover_verb;
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
« no previous file with comments | « pkg/fletchc/lib/src/verbs/documentation.dart ('k') | pkg/mdns/lib/mdns.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698