Skip to content

Commit

Permalink
Bump to 0.4.0 and add switch_heat_mode to the .deb (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanrees authored Jul 5, 2022
1 parent 3164be1 commit 2d8bc3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_deb", "pkg_tar")
py_library(
name = "config",
srcs = ["config.py"],
visibility = ["//:__subpackages__"]
visibility = ["//:__subpackages__"],
)

py_test(
Expand Down Expand Up @@ -69,8 +69,9 @@ pkg_tar(
name = "deb-bin",
# This depends on --build_python_zip.
srcs = [
":main",
":config_builder"
":config_builder",
":main",
"//misc:switch_heat_mode",
],
mode = "0755",
package_dir = "/opt/prometheus-dyson/bin",
Expand Down Expand Up @@ -123,5 +124,5 @@ pkg_deb(
package = "prometheus-dyson",
postrm = "debian/postrm",
prerm = "debian/prerm",
version = "0.3.4",
version = "0.4.0",
)
1 change: 1 addition & 0 deletions misc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ load("@rules_pkg//:pkg.bzl", "pkg_deb", "pkg_tar")
py_binary(
name = "switch_heat_mode",
srcs = ["switch_heat_mode.py"],
visibility = ["//:__pkg__"],
deps = [
"//:config",
"//:connect",
Expand Down

0 comments on commit 2d8bc3a

Please sign in to comment.