diff --git a/README.md b/README.md
index 4a843af..b17bef6 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-
Prometheus bazel rules
+Prometheus bazel rules
Prometheus/Alertmanager rules for Bazel
@@ -9,9 +9,9 @@ Prometheus/Alertmanager rules for Bazel
- [promtool_unit_test](#promtool_unit_test)
- [prometheus](#prometheus)
- [promtool](#promtool)
+- [Examples](#examples)
TODO
-- improve rules documentation
- better examples or point to examples directory
- integrate alertmanager and amtool into rules and workspace binaries
- start prometheus server/alertmanager with input configs
@@ -231,3 +231,5 @@ promtool(
| :-------------: | :-------------: | :-------------: |
| name | A unique name for this target. | none |
| kwargs | Attributes to be passed along | none |
+
+# Examples
diff --git a/prometheus/internal/BUILD b/prometheus/internal/BUILD
index a04c8ab..f0d8a5d 100644
--- a/prometheus/internal/BUILD
+++ b/prometheus/internal/BUILD
@@ -10,7 +10,11 @@ package(
exports_files(
[
"repositories.bzl",
- ],
+ ] + glob([
+ "*.bat",
+ "*.sh",
+ "*.sh.tpl",
+ ]),
visibility = ["//visibility:public"],
)
@@ -21,15 +25,6 @@ exports_files([
"toolchain.bzl",
])
-exports_files(
- glob([
- "*.bat",
- "*.sh",
- "*.sh.tpl",
- ]),
- visibility = ["//visibility:public"],
-)
-
bzl_library(
name = "promtool",
srcs = ["promtool.bzl"],