-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Support --package-root option in the analyzer #4589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@fedor - the --package-root option is specified with no "=" ~/sdk/dart-sdk/bin/dart_analyzer --package-root /Users/fedorkorotkov/IdeaProjects/dart-command-line/src/packages/ test.dart Try that and let us know if you still have issues Set owner to @keertip. |
This comment was originally written by [email protected] Sorry, It's typo. ~/sdk/dart-sdk/bin/dart_analyzer --package-root=/Users/fedorkorotkov/IdeaProjects/dart-command-line/src/packages/ src/test.dart |
@fedor , try this ~/sdk/dart-sdk/bin/dart_analyzer --package-root /Users/fedorkorotkov/IdeaProjects/dart-command-line/src/packages/ src/test.dart |
This comment was originally written by [email protected] It works! Strange cause analyzer is just an extracted compiler without a few passes. |
Added Verified label. |
This issue was originally filed by [email protected]
Analyzer doesn't support packages
~/sdk/dart-sdk/bin/dart_analyzer --package-root=/Users/fedorkorotkov/IdeaProjects/dart-command-line/src/packages/ test.dart
returns
"--package-root=/Users/fedorkorotkov/IdeaProjects/dart-command-line/src/packages/" is not a valid option
The text was updated successfully, but these errors were encountered: