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

'clean' command doesn't delete directories, only files #252

Open
yegor256 opened this issue Oct 17, 2022 · 5 comments
Open

'clean' command doesn't delete directories, only files #252

yegor256 opened this issue Oct 17, 2022 · 5 comments

Comments

@yegor256
Copy link
Contributor

I configure it like this, in build.lua:

cleanfiles = {"build", "_minted", "*.pdf"}

However, when I run l3build clean the directory _minted is not deleted.

@josephwright
Copy link
Member

Indeed, that's true: what's the use case?

@yegor256
Copy link
Contributor Author

@josephwright the use case is simple: I want temporary files and directories to be deleted with l3build clean :)

@josephwright
Copy link
Member

@yegor256 I mean something like: TeX doesn't care about directories, which are also not tracked by systems such as Git, so typically there is no need to remove them. What issue arises from leaving them alone?

@yegor256
Copy link
Contributor Author

@josephwright in my case, they have temporary files that affect the next build. I would like to have an ability to start from scratch. Now I have to delete them manually.

@josephwright
Copy link
Member

@josephwright in my case, they have temporary files that affect the next build. I would like to have an ability to start from scratch. Now I have to delete them manually.

That sounds more like we are missing cleaning out directories recursively

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