Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit 2d8bc3a8 authored by Sean Rees's avatar Sean Rees Committed by GitHub
Browse files

Bump to 0.4.0 and add switch_heat_mode to the .deb (#20)

parent 3164be1a
Branches
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_deb", "pkg_tar") ...@@ -5,7 +5,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_deb", "pkg_tar")
py_library( py_library(
name = "config", name = "config",
srcs = ["config.py"], srcs = ["config.py"],
visibility = ["//:__subpackages__"] visibility = ["//:__subpackages__"],
) )
py_test( py_test(
...@@ -69,8 +69,9 @@ pkg_tar( ...@@ -69,8 +69,9 @@ pkg_tar(
name = "deb-bin", name = "deb-bin",
# This depends on --build_python_zip. # This depends on --build_python_zip.
srcs = [ srcs = [
":config_builder",
":main", ":main",
":config_builder" "//misc:switch_heat_mode",
], ],
mode = "0755", mode = "0755",
package_dir = "/opt/prometheus-dyson/bin", package_dir = "/opt/prometheus-dyson/bin",
...@@ -123,5 +124,5 @@ pkg_deb( ...@@ -123,5 +124,5 @@ pkg_deb(
package = "prometheus-dyson", package = "prometheus-dyson",
postrm = "debian/postrm", postrm = "debian/postrm",
prerm = "debian/prerm", prerm = "debian/prerm",
version = "0.3.4", version = "0.4.0",
) )
...@@ -5,6 +5,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_deb", "pkg_tar") ...@@ -5,6 +5,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_deb", "pkg_tar")
py_binary( py_binary(
name = "switch_heat_mode", name = "switch_heat_mode",
srcs = ["switch_heat_mode.py"], srcs = ["switch_heat_mode.py"],
visibility = ["//:__pkg__"],
deps = [ deps = [
"//:config", "//:config",
"//:connect", "//:connect",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment