Skip to content

Commit a575b0c

Browse files
BrewTestBotbranchvincent
authored andcommitted
deno 1.42.2
1 parent 4b61663 commit a575b0c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Formula/d/deno.rb

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Deno < Formula
22
desc "Secure runtime for JavaScript and TypeScript"
33
homepage "https://deno.com/"
4-
url "https://github.com/denoland/deno/releases/download/v1.42.1/deno_src.tar.gz"
5-
sha256 "38c30012cec6f969903df5eef20dc9208951bb7913d665baacb12c8c1f2250a7"
4+
url "https://github.com/denoland/deno/releases/download/v1.42.2/deno_src.tar.gz"
5+
sha256 "fd9bdac501520c22c0532117196cb7951ff884541023a01001033190608f2e2a"
66
license "MIT"
77
head "https://github.com/denoland/deno.git", branch: "main"
88

@@ -45,7 +45,7 @@ class Deno < Formula
4545
# Use the version of `v8` crate at: https://github.com/denoland/deno/blob/v#{version}/Cargo.lock
4646
# Search for 'name = "v8"' (without single quotes).
4747
resource "rusty_v8" do
48-
url "https://static.crates.io/crates/v8/v8-0.89.0.crate", using: :nounzip
48+
url "https://static.crates.io/crates/v8/v8-0.89.0.crate"
4949
sha256 "fe2197fbef82c98f7953d13568a961d4e1c663793b5caf3c74455a13918cdf33"
5050
end
5151

@@ -77,11 +77,7 @@ class Deno < Formula
7777
def install
7878
# Work around files missing from crate
7979
# TODO: Remove this at the same time as `rusty_v8` + `v8` resources
80-
(buildpath/"../rusty_v8").mkpath
81-
resource("rusty_v8").stage do |r|
82-
system "tar", "-C", buildpath/"../rusty_v8",
83-
"--strip-components", "1", "-xzvf", "v8-#{r.version}.crate"
84-
end
80+
resource("rusty_v8").stage buildpath/"../rusty_v8"
8581
resource("v8").stage do
8682
cp_r "tools/builtins-pgo", buildpath/"../rusty_v8/v8/tools/builtins-pgo"
8783
end

0 commit comments

Comments
 (0)