Skip to content

More clever failing related to target and source presence #3307

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oldergod
Copy link
Member

No description provided.

Comment on lines +258 to +263
if (targets.isEmpty() && fullSchema.protoFiles.all { isWireRuntimeProto(it.location) }) {
// We have sources but no target to handle them.
IllegalStateException("Sources have been found but no target are set. " +
"At least one target must be provided for this project\n" +
"See our documentation for details: https://square.github.io/wire/wire_compiler/#customizing-output")
}
Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't look like this code is executed on neither of the tests

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.

1 participant