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

Build failure should result in the deletion of unbuilt targets #77

Open
ihh opened this issue Dec 18, 2019 · 0 comments
Open

Build failure should result in the deletion of unbuilt targets #77

ihh opened this issue Dec 18, 2019 · 0 comments

Comments

@ihh
Copy link
Member

ihh commented Dec 18, 2019

The current behavior (which leaves target files in place even if the build fails while trying to run the recipe for that target) was originally by design, but it is different from GNU make's behavior, and has become enough of a pain in the neck (when crafting & debugging Makefiles) that I'm labeling this as a bug.

Pretty easy to fix I think: just delete the file in the build(T,SL,Opts) rule that prints the FAILED message, in biomake.pl.

May break some tests (and should get its own test either way).

@ihh ihh changed the title Build failure should result in the deletion of partially built targets Build failure should result in the deletion of unbuilt targets Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant