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

Unified Diff: samples/third_party/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 side-by-side diff with in-line comments
Download patch
Index: samples/third_party/pop-pop-win/tool/hop_runner.dart
diff --git a/samples/third_party/pop-pop-win/tool/hop_runner.dart b/samples/third_party/pop-pop-win/tool/hop_runner.dart
deleted file mode 100755
index 27aa532633d633eba568cf453b8619b94e43d484..0000000000000000000000000000000000000000
--- a/samples/third_party/pop-pop-win/tool/hop_runner.dart
+++ /dev/null
@@ -1,39 +0,0 @@
-import 'dart:async';
-import 'dart:io';
-import 'package:hop/hop.dart';
-import 'package:hop/hop_tasks.dart';
-import '../test/console_test_harness.dart' as test_console;
-
-void main(List<String> args) {
-
- addTask('test', createUnitTestTask(test_console.main));
-
- //
- // Analyzer
- //
- addTask('analyze_libs', createAnalyzerTask(_getLibs));
-
- //
- // Dart2js - App
- //
- addTask('app_dart2js', createDartCompilerTask(['app_package/game_app.dart'],
- minify: true,
- liveTypeAnalysis: true
- ));
-
- //
- // gh_pages
- //
- addTask('pages', (ctx) =>
- branchForDir(ctx, 'master', 'web', 'gh-pages'));
-
- runHop(args);
-}
-
-
-Future<List<String>> _getLibs() {
- return new Directory('lib').list()
- .where((FileSystemEntity fse) => fse is File)
- .map((File file) => file.path)
- .toList();
-}
« no previous file with comments | « samples/third_party/pop-pop-win/test/ppw/test_game.dart ('k') | samples/third_party/pop-pop-win/web/_audio.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698