diff options
Diffstat (limited to '.buckconfig')
-rw-r--r-- | .buckconfig | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/.buckconfig b/.buckconfig index bb3fda5f..e081ba21 100644 --- a/.buckconfig +++ b/.buckconfig @@ -1,8 +1,11 @@ [repositories] -repo = . +root = . prelude = tools/buck/prelude toolchains = tools/buck/toolchains -config = tools/buck/prelude +none = none + +[repository_aliases] +config = prelude buck = none fbcode = none fbsource = none @@ -11,7 +14,15 @@ fbsource = none # Hide BUCK files under target/package/ from `buck build ...`. Otherwise: # $ buck build ... # //target/package/cxx-0.3.0/tests:ffi references non-existing file or directory 'target/package/cxx-0.3.0/tests/ffi/lib.rs' -ignore = target +# +# Also hide some Bazel-managed directories that contain symlinks to the repo root. +ignore = \ + .git, \ + bazel-bin, \ + bazel-cxx, \ + bazel-out, \ + bazel-testlogs, \ + target [parser] -target_platform_detector_spec = target://...->config//platforms:default +target_platform_detector_spec = target:root//...->prelude//platforms:default |