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

Side by Side Diff: pkg/polymer/lib/deploy.dart

Issue 180373003: [polymer] switch comment style (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
OLDNEW
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 /** 5 /// **Note**: If you already have a `build.dart` in your application, we
6 * **Note**: If you already have a `build.dart` in your application, we 6 /// recommend to use the `package:polymer/builder.dart` library instead.
7 * recommend to use the `package:polymer/builder.dart` library instead.
8 7
9 * 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
10 * compiled with dart2js and deployed. Following pub layout conventions, this 9 /// compiled with dart2js and deployed. Following pub layout conventions, this
11 * 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/'
12 * directories as entry points. 11 /// directories as entry points.
13 * 12 ///
14 * From an application package you can run deploy by creating a small program 13 /// From an application package you can run deploy by creating a small program
15 * as follows: 14 /// as follows:
16 * 15 ///
17 * import "package:polymer/deploy.dart" as deploy; 16 /// import "package:polymer/deploy.dart" as deploy;
18 * main() => deploy.main(); 17 /// main() => deploy.main();
19 * 18 ///
20 * This library should go away once `pub deploy` can be configured to run 19 /// This library should go away once `pub deploy` can be configured to run
21 * barback transformers. 20 /// barback transformers.
22 */
23 library polymer.deploy; 21 library polymer.deploy;
24 22
25 import 'dart:io'; 23 import 'dart:io';
26 24
27 import 'package:args/args.dart'; 25 import 'package:args/args.dart';
28 import 'package:path/path.dart' as path; 26 import 'package:path/path.dart' as path;
29 import 'src/build/common.dart' show TransformOptions, phasesForPolymer; 27 import 'src/build/common.dart' show TransformOptions, phasesForPolymer;
30 import 'src/build/runner.dart'; 28 import 'src/build/runner.dart';
31 import 'transformer.dart'; 29 import 'transformer.dart';
32 30
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 _showUsage(parser); 160 _showUsage(parser);
163 return null; 161 return null;
164 } 162 }
165 } 163 }
166 164
167 _showUsage(parser) { 165 _showUsage(parser) {
168 print('Usage: dart --package-root=packages/ ' 166 print('Usage: dart --package-root=packages/ '
169 'package:polymer/deploy.dart [options]'); 167 'package:polymer/deploy.dart [options]');
170 print(parser.getUsage()); 168 print(parser.getUsage());
171 } 169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698