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

Raise an error if buildscript() is called not from the root project #124

Closed
NiklasRosenstein opened this issue Oct 9, 2023 · 0 comments · Fixed by #130
Closed

Raise an error if buildscript() is called not from the root project #124

NiklasRosenstein opened this issue Oct 9, 2023 · 0 comments · Fixed by #130
Assignees
Labels
only: kraken-common This issue affects only kraken-common. type: enhancement New feature or request

Comments

@NiklasRosenstein
Copy link
Contributor

People that are not very familiar with Kraken that write a .kraken.py for a sub-project will often copy the buildscript() block into that script, but it's only required at the top-level. We should just raise an exception when it is used in any project that is not the root project, as it doesn't add any value there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
only: kraken-common This issue affects only kraken-common. type: enhancement New feature or request
Projects
None yet
1 participant