| Index: samples/third_party/todomvc/build.dart
|
| diff --git a/samples/third_party/todomvc/build.dart b/samples/third_party/todomvc/build.dart
|
| index 3bac4f675d8ed513823e5ec73909958886f23dc0..74ef11dd2fd83808a272422cdb0b45fc308c125a 100755
|
| --- a/samples/third_party/todomvc/build.dart
|
| +++ b/samples/third_party/todomvc/build.dart
|
| @@ -3,10 +3,11 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -import 'dart:io';
|
| -import 'package:polymer/component_build.dart';
|
| -import 'package:polymer/deploy.dart' as deploy;
|
| +import 'package:polymer/build_helper.dart';
|
|
|
| void main() {
|
| - build(new Options().arguments, ['web/index.html']).then((_) => deploy.main());
|
| -}
|
| + var options = parseOptions();
|
| + lint(entrypoints: ['web/index.html']).then((_) {
|
| + if (options.forceDeploy) deploy(entrypoints: ['web/index.html']);
|
| + });
|
| +}
|
|
|