Skip to content

Commit 928bb32

Browse files
BrewTestBotchenrui333
authored andcommitted
oxlint 1.4.0
oxlint: add exit code patch Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent 3d296da commit 928bb32

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Formula/o/oxlint.rb

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
class Oxlint < Formula
22
desc "Suite of high-performance tools for JavaScript and TypeScript written in Rust"
33
homepage "https://oxc.rs/"
4-
url "https://github.com/oxc-project/oxc/archive/refs/tags/oxlint_v1.3.0.tar.gz"
5-
sha256 "660fffae9e46724e5dab8dbb13fbe50becef537057790dcd659f85727dbaa823"
64
license "MIT"
75
head "https://github.com/oxc-project/oxc.git", branch: "main"
86

7+
stable do
8+
url "https://github.com/oxc-project/oxc/archive/refs/tags/oxlint_v1.4.0.tar.gz"
9+
sha256 "cfb910f8100da7abbc31fbac3a25acd73039d98787b27bc463db137c3e2e2317"
10+
11+
# fix exit code for `--version`
12+
patch do
13+
url "https://github.com/oxc-project/oxc/commit/4b2c6587c0a4ef41c187da915e591eda64deb81a.patch?full_index=1"
14+
sha256 "14cf100271b9ccdc883a5859e53b33637aec797cd8f7e8cbd5fc03715e4663b5"
15+
end
16+
end
17+
918
livecheck do
1019
url :stable
1120
regex(/^oxlint[._-]v?(\d+(?:\.\d+)+)$/i)

0 commit comments

Comments
 (0)