From 4495b67d8eff094d4db721cdb4c14924ab1eb1aa Mon Sep 17 00:00:00 2001
From: 5h4d0w4rt <5h4d0w4rt@gmail.com>
Date: Mon, 4 Jan 2021 13:05:33 +0300
Subject: [PATCH] minor release refactor
---
README.md | 6 ++++--
prometheus/internal/BUILD | 15 +++++----------
2 files changed, 9 insertions(+), 12 deletions(-)
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"],