Releases: lalten/rules_appimage
Releases · lalten/rules_appimage
v1.2.0
Interesting changes from the last version include:
- New
data
attribute on theappimage
rule itself: #68
WORKSPACE
setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_appimage",
sha256 = "d59605787b22f0a3a122b8d26333973a2098c58c13119ac26ecf7183be6c0aa4",
strip_prefix = "rules_appimage-1.2.0",
url = "https://github.com/lalten/rules_appimage/archive/refs/tags/v1.2.0.tar.gz",
patch_cmds = ["rm -r tests"],
)
load("@rules_appimage//:deps.bzl", "rules_appimage_deps")
rules_appimage_deps()
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()
v1.0.1
Interesting changes from the last version include:
- rules_python is not a "runtime" dependency anymore. It's removed from the
rules_appimage_deps()
function - Using
maybe
rules for http_archives - CI changes
The appimage
and appimage_test
rules have not changed since the last release.
WORKSPACE
setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_appimage",
sha256 = "eb3065a2e0f26b01c85020baa73528f6d2f6fdcbfeb12d2d486cb388fc449597",
strip_prefix = "rules_appimage-1.0.1",
url = "https://github.com/lalten/rules_appimage/archive/refs/tags/v1.0.1.tar.gz",
)
load("@rules_appimage//:deps.bzl", "rules_appimage_deps")
rules_appimage_deps()