Hide buck2 submodule from bazel

Otherwise `bazel build ...` gets tripped up.

    ERROR: error loading package 'tools/buck/buck2/examples/no_prelude/go/binary-toolchain': cannot load '//:rules.bzl': no such file
    ERROR: error loading package 'tools/buck/buck2/examples/no_prelude/rust/rustc': cannot load '//:rules.bzl': no such file
    ERROR: error loading package 'tools/buck/buck2/examples/prelude/cpp/library': Unable to find package for @prelude//rules.bzl:rules.bzl: The repository '@prelude' could not be resolved: Repository '@prelude' is not defined.
    ERROR: error loading package 'tools/buck/buck2/examples/prelude/python/library': Unable to find package for @prelude//rules.bzl:rules.bzl: The repository '@prelude' could not be resolved: Repository '@prelude' is not defined.
    INFO: Elapsed time: 0.167s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (0 packages loaded)
This commit is contained in:
David Tolnay 2022-12-02 23:12:03 -08:00
parent 77d9eda191
commit 8f50570e80
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1 +1,2 @@
target/
tools/buck/buck2/