-
Notifications
You must be signed in to change notification settings - Fork 117
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
Add grinder to test the language directories #2562
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool! Love that it already caught a crash.
tool/grind.dart
Outdated
Future<void> buildLanguageTestDocs() async { | ||
var launcher = SubprocessLauncher('build-language-test-docs'); | ||
if (languageTestPath == null) { | ||
fail('LANGUAGE_TESTS must be set to the directory to build language tests'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line isn't clear to me. Is it the directory in which language tests are to be built? Or the directory of language tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
A quick and dirty grinder to automatically build pub-like packages out of Dart SDK language test directories and run dartdoc against them. Already found one stack overflow with it.
usage example: