Skip to content

Commit

Permalink
Make the extension of :package-generic-unix configurable in bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
HoloRin committed Jun 20, 2023
1 parent c76eaaa commit db5f912
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dist.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def versioned_plugins_dir(**kwargs):

def package_generic_unix(
name = "package-generic-unix",
extension = "tar.xz",
plugins = None,
extra_licenses = [],
package_dir = "rabbitmq_server-{}".format(APP_VERSION)):
Expand Down Expand Up @@ -298,7 +299,7 @@ def package_generic_unix(

pkg_tar(
name = name,
extension = "tar.xz",
extension = extension,
package_dir = package_dir,
visibility = ["//visibility:public"],
srcs = [
Expand All @@ -316,6 +317,7 @@ def package_generic_unix(

def source_archive(
name = "source_archive",
extension = "tar.xz",
plugins = None):
source_tree(
name = "source-tree",
Expand Down Expand Up @@ -353,7 +355,7 @@ def source_archive(

pkg_tar(
name = name,
extension = "tar.xz",
extension = extension,
srcs = [
":deps-files",
":json-files",
Expand Down

0 comments on commit db5f912

Please sign in to comment.