Skip to content

Commit 9175395

Browse files
committed
lsr: remove using argument
I added support to `DownloadStrategyDetector` for tangled.sh Git URLs, so the `using: :git` argument in the `lsr` formula is (or will be) redundant. This formula will fail `brew audit` (after we remove the exception to skip the related audit for `lsr`), so this removes the argument. Besides that, this modifies the formula to use `zig@14`, as the build will fail with errors otherwise (i.e., `expected function or variable declaration after pub` for `build.zig` lines like `pub usingnamespace @import("src/zeit.zig");` and `pub usingnamespace zzdoc;`).
1 parent de1c05d commit 9175395

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Formula/l/lsr.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ class Lsr < Formula
22
desc "Ls but with io_uring"
33
homepage "https://tangled.sh/@rockorager.dev/lsr"
44
url "https://tangled.sh/@rockorager.dev/lsr",
5-
using: :git,
65
tag: "v1.0.0",
76
revision: "9bfcae0be1d3ee2db176bb8001c0f46650484249"
87
license "MIT"
@@ -16,7 +15,7 @@ class Lsr < Formula
1615
sha256 cellar: :any_skip_relocation, x86_64_linux: "0044a4cca23cb76a32c0095cee321c50d049007a608ae54155268b0ac30a1213"
1716
end
1817

19-
depends_on "zig" => :build
18+
depends_on "zig@0.14" => :build # https://tangled.sh/@rockorager.dev/lsr/issues/13
2019

2120
def install
2221
# Fix illegal instruction errors when using bottles on older CPUs.

0 commit comments

Comments
 (0)