facebook / facebook/buck2

[Feature Request] Allow configuring path of `buck-out` directory

Open
#858 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

Currently, Buck2 creates the `buck-out` directory at the root of the repository.
And there doesn't appear to be a way to **configure** this path.

I would appreciate it if there could be an option that allows specifying a custom path for the `buck-out` directory.

In my use case, where the code directory is mounted as read-only, it's not possible to write to this directory within the repository itself.
As a result, I need the ability to specify a custom path for `buck-out` outside of the repository.

This could be implemented through either:
- A configuration option in `.buckconfig`
- A command-line parameter

This would allow better flexibility and integration with systems where the code repository

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.