ignore_directories(
    [
        # Don't accidentally pick up external CMake deps with Bazel build files.
        "cmake-*",
        "build",
        "build-*",
        # Don't treat submodules as part of this project.
        "lib",
    ],
)
