Skip to content
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

Option to fail on warning #955

Merged
merged 1 commit into from
Jun 15, 2020
Merged

Option to fail on warning #955

merged 1 commit into from
Jun 15, 2020

Conversation

sellmair
Copy link
Member

@sellmair sellmair commented Jun 9, 2020

Closes #459

@@ -48,6 +48,10 @@ open class GlobalArguments(parser: DokkaArgumentsParser) : DokkaConfiguration {

override val impliedPlatforms: List<String> = emptyList()

override val failOnWarning: Boolean by parser.singleFlag(
listOf("-failOnWarning"), "Fail dokka task if at least one warning was reported"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternative: "-warningPolicy=strict"

@sellmair sellmair marked this pull request as ready for review June 10, 2020 06:01
@sellmair sellmair force-pushed the fail-on-warning-option branch 3 times, most recently from a7d1efa to 46e6f95 Compare June 15, 2020 16:44
@sellmair sellmair merged commit ee425e0 into dev-0.11.0 Jun 15, 2020
@kamildoleglo kamildoleglo deleted the fail-on-warning-option branch June 15, 2020 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants