Skip to content

0.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@bttk bttk released this 21 Feb 15:59
77eedd2

Notable changes

  • Use flag -s to make installer run with sudo

    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()