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

Improve error message when the apiCheck fails due to missing klib dump file #205

Open
fzhinkin opened this issue Mar 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request klib

Comments

@fzhinkin
Copy link
Collaborator

Currently, when there's no klib.api file in the project, the apiCheck task fails with an error message complaining about missing the intermediate file, not the source klib.api file that has to be placed in the repo:

* What went wrong:
Execution failed for task ':redwood-layout-modifiers:klibApiCheck'.
> Expected folder with API declarations '/private/tmp/bugs/redwood/redwood-layout-modifiers/build/api/klib-all/extracted' does not exist.
  Please ensure that ':apiDump' was executed in order to get API dump to compare the build against

It would be nice to point users to a missing from the projects source directory, not to some obscure intermediate file.

@fzhinkin fzhinkin added enhancement New feature or request klib labels Mar 26, 2024
@fzhinkin fzhinkin added this to the klib/0.15.0-Beta.3 milestone Mar 26, 2024
@fzhinkin fzhinkin self-assigned this Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request klib
Projects
None yet
Development

No branches or pull requests

1 participant