OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /// **Note**: If you already have a `build.dart` in your application, we | 5 /// **Note**: If you already have a `build.dart` in your application, we |
6 /// recommend to use the `package:polymer/builder.dart` library instead. | 6 /// recommend to use the `package:polymer/builder.dart` library instead. |
7 | 7 |
8 /// Temporary deploy command used to create a version of the app that can be | 8 /// Temporary deploy command used to create a version of the app that can be |
9 /// compiled with dart2js and deployed. Following pub layout conventions, this | 9 /// compiled with dart2js and deployed. Following pub layout conventions, this |
10 /// script will treat any HTML file under a package 'web/' and 'test/' | 10 /// script will treat any HTML file under a package 'web/' and 'test/' |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 _showUsage(parser); | 179 _showUsage(parser); |
180 return null; | 180 return null; |
181 } | 181 } |
182 } | 182 } |
183 | 183 |
184 _showUsage(parser) { | 184 _showUsage(parser) { |
185 print('Usage: dart --package-root=packages/ ' | 185 print('Usage: dart --package-root=packages/ ' |
186 'package:polymer/deploy.dart [options]'); | 186 'package:polymer/deploy.dart [options]'); |
187 print(parser.getUsage()); | 187 print(parser.getUsage()); |
188 } | 188 } |
OLD | NEW |