Skip to content

v1.1.0

Compare
Choose a tag to compare
@lalten lalten released this 17 Jul 15:25
· 202 commits to main since this release

Interesting changes from the last version include:

  • Add Mend renovate and use it to update some dependencies
  • set the BUILD_WORKING_DIRECTORY env var which helps with building CLIs that accept relative file paths (#58)
  • Explicitly re-set the RUNFILES_DIR env var to the runfiles of the binary target, not of the appimage rule itself. This fixes the runfiles.bash setup handling. `#58)
  • The variables set in the appimage target's env attr are now available also when running the appimage without bazel run by re-exporting them in the AppRun entrypoint #59
  • The env attr dict of the binary target is preserved and updated with the appimage target's env attr dict when possible. Note that all not all rulesets and versions of Bazel support this. For example, rules_python does not work yet, and rules_cc works with Bazel >= 6. #59

WORKSPACE setup:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_appimage",
    sha256 = "f4be008c95adfd3c610ba9c12cc38b58eda3ea62d4ef6bf25f9fb3d746fd6b34",
    strip_prefix = "rules_appimage-1.1.0",
    url = "https://github.com/lalten/rules_appimage/archive/refs/tags/v1.1.0.tar.gz",
    patch_cmds = ["rm -r tests"],
)

load("@rules_appimage//:deps.bzl", "rules_appimage_deps")

rules_appimage_deps()