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

Remove previously build files when configuration changes #33

Open
dergraaf opened this issue May 5, 2019 · 1 comment · May be fixed by #48
Open

Remove previously build files when configuration changes #33

dergraaf opened this issue May 5, 2019 · 1 comment · May be fixed by #48
Assignees
Labels
enhancement New feature or request

Comments

@dergraaf
Copy link
Member

dergraaf commented May 5, 2019

If a file has been previously been build by lbuild, it should be removed if the configuration is changed (e.g. when a module is no longer included). Currently the files stay there until they are manually deleted. Other files which have been added by a user should not be removed.

@dergraaf dergraaf added the enhancement New feature or request label May 5, 2019
@dergraaf dergraaf self-assigned this May 5, 2019
@salkinium
Copy link
Member

salkinium commented May 5, 2019

YES! I've been meaning to add file hashes to the build log of both the repository files (ie. module.lb and file operation inputs) as well as the output files, so that you can have a better understanding of what exactly changed.

lbuild can then correctly warn you about files that would be overwritten.
And lbuild may also rebuild just one module and it's dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

2 participants