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

Automatic/guaranteed cleanup after running recipes? #1686

Closed
giorgiga opened this issue Oct 5, 2023 · 1 comment
Closed

Automatic/guaranteed cleanup after running recipes? #1686

giorgiga opened this issue Oct 5, 2023 · 1 comment

Comments

@giorgiga
Copy link

giorgiga commented Oct 5, 2023

It would be nice to have some way to define a cleanup recipe that is guaranteed to be run after a just invocation (or some other equivalent system).

My use case (I'm sure there's others) is cleaning up a temporary directory where I need to unencrypt some sops secrets the justfile needs access to.

@casey
Copy link
Owner

casey commented Oct 9, 2023

I think this is a dupe of #1582, have a look there.

@casey casey closed this as completed Oct 9, 2023
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