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

Don't touch all files to recompile everything on Makefile changes #822

Open
essen opened this issue Jan 24, 2019 · 5 comments
Open

Don't touch all files to recompile everything on Makefile changes #822

essen opened this issue Jan 24, 2019 · 5 comments

Comments

@essen
Copy link
Member

essen commented Jan 24, 2019

It should be possible to have a single temporary file as a dependency to all others and use that to force the rebuild of everything, rather than touch everything. Perhaps the .app file can be used for this? If it's touched to 000 it should rebuild all of it. To be experimented with.

@essen
Copy link
Member Author

essen commented Jan 26, 2019

This ticket is about the "recompile everything when the Makefile changes" in case that's not clear. It currently has to touch all source files to accomplish that and that's not optimal. I'll edit the title.

@essen essen changed the title Don't touch all files to recompile everything Don't touch all files to recompile everything on Makefile changes Jan 26, 2019
@essen
Copy link
Member Author

essen commented Jan 26, 2019

There's a makedep/depend step that generates a .d file with those dependencies.

@crownedgrouse
Copy link
Contributor

thanks , see it now. I removed unrelated posts. feel free to do the same to clean the issue

@essen
Copy link
Member Author

essen commented Apr 20, 2020

#881 has a solution for doing this properly. /cc @dumbbell

@essen
Copy link
Member Author

essen commented Apr 20, 2020

Involves changes in core/erlc, plugins/erlydtl and plugins/protobuffs.

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

No branches or pull requests

2 participants