From 2ad58d8603294f5ee33d23bb725e0e6a17c1de50 Mon Sep 17 00:00:00 2001 From: Evgenii Kliuchnikov Date: Fri, 5 Jan 2024 01:57:06 -0800 Subject: use .bazelignore instead of fake repositories PiperOrigin-RevId: 595931804 --- .bazelignore | 6 ++++++ .gitattributes | 2 +- WORKSPACE.bazel | 25 ------------------------- 3 files changed, 7 insertions(+), 26 deletions(-) create mode 100644 .bazelignore diff --git a/.bazelignore b/.bazelignore new file mode 100644 index 0000000..cdc5ebc --- /dev/null +++ b/.bazelignore @@ -0,0 +1,6 @@ +# Exclude Bazel roots (workspaces) +c/fuzz +go +java +js +research diff --git a/.gitattributes b/.gitattributes index a0853c2..080c2a9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,10 +4,10 @@ tests/testdata/* binary **/** export-ignore # Add top-level files +.bazelignore !export-ignore BUILD.bazel !export-ignore CHANGELOG.md !export-ignore CMakeLists.txt !export-ignore -compiler_config_setting.bzl !export-ignore CONTRIBUTING.md !export-ignore LICENSE !export-ignore MANIFEST.in !export-ignore diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index c26ddf8..d5f3096 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -1,26 +1 @@ workspace(name = "org_brotli") - -local_repository( - name = "ignore_org_brotli_fuzz", - path = "c/fuzz", -) - -local_repository( - name = "ignore_org_brotli_go", - path = "go", -) - -local_repository( - name = "ignore_org_brotli_java", - path = "java", -) - -local_repository( - name = "ignore_org_brotli_js", - path = "js", -) - -local_repository( - name = "ignore_org_brotli_research", - path = "research", -) -- cgit v1.1