Releases: google/bazel_rules_install
Releases · google/bazel_rules_install
0.4
Notable changes
-c opt
is no longer needed to install an optimized build (#22)- Fixed:
installer
worked only when individually specifying binaries indata
(#24)
WORKSPACE code
http_archive(
name = "com_github_google_rules_install",
urls = [
"https://github.com/google/bazel_rules_install/releases/download/0.4/bazel_rules_install-0.4.tar.gz",
],
sha256 = "ac2c9c53aa022a110273c0e510d191a4c04c6adafefa069a5eeaa16313edc9b9",
strip_prefix = "bazel_rules_install-0.4",
)
load("@com_github_google_rules_install//:deps.bzl", "install_rules_dependencies")
install_rules_dependencies()
load("@com_github_google_rules_install//:setup.bzl", "install_rules_setup")
install_rules_setup()
0.3
Notable changes
-
Use flag
-s
to make installer run withsudo
bazel run //src/path/to/pkg:install_foo -c opt -- -s /usr/local/bin
WORKSPACE code
http_archive(
name = "com_github_google_rules_install",
urls = [
"https://github.com/google/bazel_rules_install/releases/download/0.3/bazel_rules_install-0.3.tar.gz",
],
sha256 = "ea2a9f94fed090859589ac851af3a1c6034c5f333804f044f8f094257c33bdb3",
strip_prefix = "bazel_rules_install-0.3",
)
load("@com_github_google_rules_install//:deps.bzl", "install_rules_dependencies")
install_rules_dependencies()
load("@com_github_google_rules_install//:setup.bzl", "install_rules_setup")
install_rules_setup()