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

Side by Side Diff: packages/dart_style/test/regression/0300/0391.stmt

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
(Empty)
1 >>>
2 final ArgParser argParser = StrongModeOptions.addArguments(new ArgParser()
3 ..addFlag('sdk-check',
4 abbr: 's', help: 'Typecheck sdk libs', defaultsTo: false)
5 ..addFlag('mock-sdk',
6 abbr: 'm', help: 'Use a mock Dart SDK', defaultsTo: false)
7
8 // input/output options
9 ..addOption('out', abbr: 'o', help: 'Output directory', defaultsTo: null)
10 ..addOption('dart-sdk', help: 'Dart SDK Path', defaultsTo: null)
11 ..addOption('dump-src-to', help: 'Dump dart src code', defaultsTo: null)
12 ..addOption('package-root',
13 abbr: 'p',
14 help: 'Package root to resolve "package:" imports',
15 defaultsTo: 'packages/')
16 ..addOption('url-mapping',
17 help: '--url-mapping=libraryUri,/path/to/library.dart uses library.dart\n'
18 'as the source for an import of of "libraryUri".',
19 allowMultiple: true,
20 splitCommas: false)
21 ..addFlag('use-multi-package',
22 help: 'Whether to use the multi-package resolver for "package:" imports',
23 defaultsTo: false)
24 ..addOption('package-paths',
25 help: 'if using the multi-package resolver, the list of directories to\n'
26 'look for packages in.', defaultsTo: '')
27 ..addOption('resources',
28 help: 'Additional resources to serve', defaultsTo: '')
29 ..addFlag('source-maps',
30 help: 'Whether to emit source map files', defaultsTo: true)
31 ..addOption('runtime-dir',
32 help: 'Where to find dev_compiler\'s runtime files', defaultsTo: null)
33
34 // general options
35 ..addFlag('help', abbr: 'h', help: 'Display this message')
36 ..addFlag('server', help: 'Run as a development server.', defaultsTo: false)
37 ..addFlag('hashing',
38 help: 'Enable hash-based file caching.', defaultsTo: null)
39 ..addFlag('widget',
40 help: 'Serve embedded widget with static errors and warnings.',
41 defaultsTo: true)
42 ..addOption('host',
43 help: 'Host name or address to serve files from, e.g. --host=0.0.0.0\n'
44 'to listen on all interfaces (used only when --serve is on)',
45 defaultsTo: 'localhost')
46 ..addOption('port',
47 help: 'Port to serve files from (used only when --serve is on)',
48 defaultsTo: '8080')
49 ..addFlag('force-compile',
50 help: 'Compile code with static errors', defaultsTo: false)
51 ..addOption('log', abbr: 'l', help: 'Logging level (defaults to severe)')
52 ..addFlag('dump-info',
53 abbr: 'i', help: 'Dump summary information', defaultsTo: null)
54 ..addOption('dump-info-file',
55 abbr: 'f',
56 help: 'Dump info json file (requires dump-info)',
57 defaultsTo: null));
58 <<<
59 final ArgParser argParser = StrongModeOptions.addArguments(new ArgParser()
60 ..addFlag('sdk-check',
61 abbr: 's', help: 'Typecheck sdk libs', defaultsTo: false)
62 ..addFlag('mock-sdk',
63 abbr: 'm', help: 'Use a mock Dart SDK', defaultsTo: false)
64
65 // input/output options
66 ..addOption('out', abbr: 'o', help: 'Output directory', defaultsTo: null)
67 ..addOption('dart-sdk', help: 'Dart SDK Path', defaultsTo: null)
68 ..addOption('dump-src-to', help: 'Dump dart src code', defaultsTo: null)
69 ..addOption('package-root',
70 abbr: 'p',
71 help: 'Package root to resolve "package:" imports',
72 defaultsTo: 'packages/')
73 ..addOption('url-mapping',
74 help: '--url-mapping=libraryUri,/path/to/library.dart uses library.dart\n'
75 'as the source for an import of of "libraryUri".',
76 allowMultiple: true,
77 splitCommas: false)
78 ..addFlag('use-multi-package',
79 help: 'Whether to use the multi-package resolver for "package:" imports',
80 defaultsTo: false)
81 ..addOption('package-paths',
82 help: 'if using the multi-package resolver, the list of directories to\n'
83 'look for packages in.',
84 defaultsTo: '')
85 ..addOption('resources',
86 help: 'Additional resources to serve', defaultsTo: '')
87 ..addFlag('source-maps',
88 help: 'Whether to emit source map files', defaultsTo: true)
89 ..addOption('runtime-dir',
90 help: 'Where to find dev_compiler\'s runtime files', defaultsTo: null)
91
92 // general options
93 ..addFlag('help', abbr: 'h', help: 'Display this message')
94 ..addFlag('server', help: 'Run as a development server.', defaultsTo: false)
95 ..addFlag('hashing',
96 help: 'Enable hash-based file caching.', defaultsTo: null)
97 ..addFlag('widget',
98 help: 'Serve embedded widget with static errors and warnings.',
99 defaultsTo: true)
100 ..addOption('host',
101 help: 'Host name or address to serve files from, e.g. --host=0.0.0.0\n'
102 'to listen on all interfaces (used only when --serve is on)',
103 defaultsTo: 'localhost')
104 ..addOption('port',
105 help: 'Port to serve files from (used only when --serve is on)',
106 defaultsTo: '8080')
107 ..addFlag('force-compile',
108 help: 'Compile code with static errors', defaultsTo: false)
109 ..addOption('log', abbr: 'l', help: 'Logging level (defaults to severe)')
110 ..addFlag('dump-info',
111 abbr: 'i', help: 'Dump summary information', defaultsTo: null)
112 ..addOption('dump-info-file',
113 abbr: 'f',
114 help: 'Dump info json file (requires dump-info)',
115 defaultsTo: null));
OLDNEW
« no previous file with comments | « packages/dart_style/test/regression/0300/0389.unit ('k') | packages/dart_style/test/regression/other/analysis_server.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698