Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
e60dc301
Unverified
Commit
e60dc301
authored
Aug 08, 2023
by
Ian Hickson
Committed by
GitHub
Aug 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dartdoc driver to match current behaviour (#132078)
parent
9dbd1e98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
dartdoc.dart
dev/tools/dartdoc.dart
+3
-4
No files found.
dev/tools/dartdoc.dart
View file @
e60dc301
...
...
@@ -116,7 +116,7 @@ Future<void> main(List<String> arguments) async {
final
List
<
String
>
dartdocBaseArgs
=
<
String
>[
'global'
,
'run'
,
if
(
args
[
'checked'
]
as
bool
)
'-
c
'
,
if
(
args
[
'checked'
]
as
bool
)
'-
-enable-asserts
'
,
'dartdoc'
,
];
...
...
@@ -229,8 +229,7 @@ Future<void> main(List<String> arguments) async {
));
printStream
(
process
.
stdout
,
prefix:
args
[
'json'
]
as
bool
?
''
:
'dartdoc:stdout: '
,
filter:
args
[
'verbose'
]
as
bool
?
const
<
Pattern
>[]
:
<
Pattern
>[
RegExp
(
r'^generating docs for library '
),
// unnecessary verbosity
RegExp
(
r'^pars'
),
// unnecessary verbosity
RegExp
(
r'^Generating docs for library '
),
// unnecessary verbosity
],
);
printStream
(
process
.
stderr
,
prefix:
args
[
'json'
]
as
bool
?
''
:
'dartdoc:stderr: '
,
...
...
@@ -259,7 +258,7 @@ ArgParser _createArgsParser() {
'filter out some known false positives (off). Shut this off '
'locally if you want to address Flutter-specific issues.'
);
parser
.
addFlag
(
'checked'
,
abbr:
'c'
,
help:
'Run dartdoc
in checked mode
.'
);
help:
'Run dartdoc
with asserts enabled
.'
);
parser
.
addFlag
(
'json'
,
help:
'Display json-formatted output from dartdoc and skip stdout/stderr prefixing.'
);
parser
.
addFlag
(
'validate-links'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment