v1.1.0
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 therunfiles.bash
setup handling. `#58) - The variables set in the appimage target's
env
attr are now available also when running the appimage withoutbazel 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'senv
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()