aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgenii Kliuchnikov <eustas@google.com>2024-01-05 01:57:06 -0800
committerCopybara-Service <copybara-worker@google.com>2024-01-05 01:57:44 -0800
commit2ad58d8603294f5ee33d23bb725e0e6a17c1de50 (patch)
treeefbe8117f0a1bf3f23a69b9abedfb338701f1eec
parent26b1fec26b1db1cc0897d2883d1e2841ed4c84bc (diff)
downloadbrotli-2ad58d8603294f5ee33d23bb725e0e6a17c1de50.zip
brotli-2ad58d8603294f5ee33d23bb725e0e6a17c1de50.tar.gz
brotli-2ad58d8603294f5ee33d23bb725e0e6a17c1de50.tar.bz2
use .bazelignore instead of fake repositories
PiperOrigin-RevId: 595931804
-rw-r--r--.bazelignore6
-rw-r--r--.gitattributes2
-rw-r--r--WORKSPACE.bazel25
3 files changed, 7 insertions, 26 deletions
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",
-)