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

Side by Side Diff: samples/pop_pop_win/tool/hop_runner.dart

Issue 200723008: samples/poppopwin: upgrade to first-class sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixed pkgbuild.status for rename Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « samples/pop_pop_win/test/ppw/test_game.dart ('k') | samples/pop_pop_win/web/_audio.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import 'dart:async'; 1 import 'dart:async';
2 import 'dart:io'; 2 import 'dart:io';
3 import 'package:hop/hop.dart'; 3 import 'package:hop/hop.dart';
4 import 'package:hop/hop_tasks.dart'; 4 import 'package:hop/hop_tasks.dart';
5 import '../test/console_test_harness.dart' as test_console; 5 import '../test/console_test_harness.dart' as test_console;
6 6
7 void main(List<String> args) { 7 void main(List<String> args) {
8 8
9 addTask('test', createUnitTestTask(test_console.main)); 9 addTask('test', createUnitTestTask(test_console.main));
10 10
(...skipping 19 matching lines...) Expand all
30 runHop(args); 30 runHop(args);
31 } 31 }
32 32
33 33
34 Future<List<String>> _getLibs() { 34 Future<List<String>> _getLibs() {
35 return new Directory('lib').list() 35 return new Directory('lib').list()
36 .where((FileSystemEntity fse) => fse is File) 36 .where((FileSystemEntity fse) => fse is File)
37 .map((File file) => file.path) 37 .map((File file) => file.path)
38 .toList(); 38 .toList();
39 } 39 }
OLDNEW
« no previous file with comments | « samples/pop_pop_win/test/ppw/test_game.dart ('k') | samples/pop_pop_win/web/_audio.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698