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

buck-out directory as cachedir #650

Open
izissise opened this issue May 15, 2024 · 1 comment
Open

buck-out directory as cachedir #650

izissise opened this issue May 15, 2024 · 1 comment

Comments

@izissise
Copy link
Contributor

Hello,

When building with Buck2, a buck-out directory is created. Users typically do not want this directory to be backed up. Many backup tools ignore directories that contain a file named CACHEDIR.TAG with the following content:

Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by Buck2.
# For information about cache directory tags, see:
#    http://www.brynosaurus.com/cachedir/

More information can be found here: https://bford.info/cachedir/

It would be great if Buck2 could automatically add this file immediately after creating the buck-out directory.

Thanks,
Hugues

@izissise
Copy link
Contributor Author

I'm willing to add this, but I'm not sure where to start, it seems it would have its place in buck-prelude?

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

1 participant