summaryrefslogtreecommitdiff
path: root/repository_defs.bzl
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-05-16 11:35:00 -0700
committerJoshua Haberman <jhaberman@gmail.com>2019-05-16 11:35:00 -0700
commit5611ff267b7f11615516fd6efe8373b730999a0d (patch)
treec7d7e10274d17cd3e9ad7002ea77249a385c2577 /repository_defs.bzl
parentf74cb51f113afcf579e60b74749cffffdf2a5f6a (diff)
Moved bazel files to bazel/ directory.
Diffstat (limited to 'repository_defs.bzl')
-rw-r--r--repository_defs.bzl15
1 files changed, 0 insertions, 15 deletions
diff --git a/repository_defs.bzl b/repository_defs.bzl
deleted file mode 100644
index 7b6e78e..0000000
--- a/repository_defs.bzl
+++ /dev/null
@@ -1,15 +0,0 @@
-# A hacky way to work around the fact that native.bazel_version is only
-# available from WORKSPACE macros, not BUILD macros or rules.
-#
-# Hopefully we can remove this if/when this is fixed:
-# https://github.com/bazelbuild/bazel/issues/8305
-
-def _impl(repository_ctx):
- s = "bazel_version = \"" + native.bazel_version + "\""
- repository_ctx.file("bazel_version.bzl", s)
- repository_ctx.file("BUILD", "")
-
-bazel_version_repository = repository_rule(
- implementation = _impl,
- local = True,
-)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback