mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Ripunzip: update to 2.0.2
This commit is contained in:
20
MODULE.bazel
20
MODULE.bazel
@@ -239,24 +239,24 @@ go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
|
||||
go_deps.from_file(go_mod = "//go/extractor:go.mod")
|
||||
use_repo(go_deps, "org_golang_x_mod", "org_golang_x_tools")
|
||||
|
||||
lfs_files = use_repo_rule("//misc/bazel:lfs.bzl", "lfs_files")
|
||||
lfs_archive = use_repo_rule("//misc/bazel:lfs.bzl", "lfs_archive")
|
||||
|
||||
lfs_files(
|
||||
lfs_archive(
|
||||
name = "ripunzip-linux",
|
||||
srcs = ["//misc/ripunzip:ripunzip-linux"],
|
||||
executable = True,
|
||||
src = "//misc/ripunzip:ripunzip-Linux.zip",
|
||||
build_file = "//misc/ripunzip:BUILD.ripunzip.bazel",
|
||||
)
|
||||
|
||||
lfs_files(
|
||||
lfs_archive(
|
||||
name = "ripunzip-windows",
|
||||
srcs = ["//misc/ripunzip:ripunzip-windows.exe"],
|
||||
executable = True,
|
||||
src = "//misc/ripunzip:ripunzip-Windows.zip",
|
||||
build_file = "//misc/ripunzip:BUILD.ripunzip.bazel",
|
||||
)
|
||||
|
||||
lfs_files(
|
||||
lfs_archive(
|
||||
name = "ripunzip-macos",
|
||||
srcs = ["//misc/ripunzip:ripunzip-macos"],
|
||||
executable = True,
|
||||
src = "//misc/ripunzip:ripunzip-macOS.zip",
|
||||
build_file = "//misc/ripunzip:BUILD.ripunzip.bazel",
|
||||
)
|
||||
|
||||
register_toolchains(
|
||||
|
||||
@@ -2,7 +2,7 @@ load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
|
||||
|
||||
alias(
|
||||
name = "ripunzip",
|
||||
actual = select({"@platforms//os:" + os: "@ripunzip-" + os for os in ("linux", "windows", "macos")}),
|
||||
actual = select({"@platforms//os:" + os: "@ripunzip-%s//:ripunzip" % os for os in ("linux", "windows", "macos")}),
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
|
||||
11
misc/ripunzip/BUILD.ripunzip.bazel
Normal file
11
misc/ripunzip/BUILD.ripunzip.bazel
Normal file
@@ -0,0 +1,11 @@
|
||||
load("@bazel_skylib//rules:native_binary.bzl", "native_binary")
|
||||
|
||||
native_binary(
|
||||
name = "ripunzip",
|
||||
src = glob(["ripunzip-*"])[0],
|
||||
out = "ripunzip" + select({
|
||||
"@platforms//os:windows": ".exe",
|
||||
"//conditions:default": "",
|
||||
}),
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
BIN
misc/ripunzip/ripunzip-Linux.zip
(Stored with Git LFS)
Normal file
BIN
misc/ripunzip/ripunzip-Linux.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
misc/ripunzip/ripunzip-Windows.zip
(Stored with Git LFS)
Normal file
BIN
misc/ripunzip/ripunzip-Windows.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
misc/ripunzip/ripunzip-linux
(Stored with Git LFS)
BIN
misc/ripunzip/ripunzip-linux
(Stored with Git LFS)
Binary file not shown.
BIN
misc/ripunzip/ripunzip-macOS.zip
(Stored with Git LFS)
Normal file
BIN
misc/ripunzip/ripunzip-macOS.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
misc/ripunzip/ripunzip-macos
(Stored with Git LFS)
BIN
misc/ripunzip/ripunzip-macos
(Stored with Git LFS)
Binary file not shown.
BIN
misc/ripunzip/ripunzip-windows.exe
(Stored with Git LFS)
BIN
misc/ripunzip/ripunzip-windows.exe
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user