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

Unified Diff: bin/devc.dart

Issue 1174643003: expose strong checker API, for use by analyzer_cli (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | bin/edit_files.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/devc.dart
diff --git a/bin/devc.dart b/bin/devc.dart
index 255a9b9363079c25bbff1c896467f162481daa4a..91dccb9a503fbfca9dcd546260d516be32cf097d 100755
--- a/bin/devc.dart
+++ b/bin/devc.dart
@@ -23,13 +23,14 @@ void main(List<String> args) {
var options = parseOptions(args);
if (options.help) _showUsageAndExit();
- if (!options.useMockSdk && options.dartSdkPath == null) {
+ var srcOpts = options.sourceOptions;
+ if (!srcOpts.useMockSdk && srcOpts.dartSdkPath == null) {
print('Could not automatically find dart sdk path.');
print('Please pass in explicitly: --dart-sdk <path>');
exit(1);
}
- if (options.entryPointFile == null) {
+ if (srcOpts.entryPointFile == null) {
print('Expected filename.');
_showUsageAndExit();
}
« no previous file with comments | « no previous file | bin/edit_files.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698