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

Unified Diff: samples/third_party/todomvc/build.dart

Issue 23445009: Prune the old deploy code. This CL does a few changes: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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/todomvc/build.dart
diff --git a/samples/third_party/todomvc/build.dart b/samples/third_party/todomvc/build.dart
index 598462e21e24522ac5652d9d1a456231c0e3446a..3bac4f675d8ed513823e5ec73909958886f23dc0 100755
--- a/samples/third_party/todomvc/build.dart
+++ b/samples/third_party/todomvc/build.dart
@@ -5,8 +5,8 @@
import 'dart:io';
import 'package:polymer/component_build.dart';
+import 'package:polymer/deploy.dart' as deploy;
void main() {
- var args = new Options().arguments.toList()..addAll(['--', '--deploy']);
- build(args, ['web/index.html']);
+ build(new Options().arguments, ['web/index.html']).then((_) => deploy.main());
}

Powered by Google App Engine
This is Rietveld 408576698