Skip to content

Commit

Permalink
Update jetzig
Browse files Browse the repository at this point in the history
  • Loading branch information
Froxcey committed Sep 27, 2024
1 parent 3f9a309 commit 92f7480
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/jetzig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ class Jetzig < Formula
desc "A web framework written in Zig"
homepage "https://www.jetzig.dev"
license "MIT"
version "f5fb5ba"
version "940bc27"

if OS.mac?
if Hardware::CPU.arm? || Hardware::CPU.in_rosetta2?
url "https://www.jetzig.dev/build-macos-aarch64.zip"
sha256 "ea3513759c94dcbc035bdad0085de607de2fe3f24ef4291244810e0cb6e78a24"
sha256 "d98bde08329043afc092595d7c1aa7db62e96b6fa3c81a3ad193018b95565611"
elsif Hardware::CPU.avx2?
url "https://www.jetzig.dev/build-macos-x86.zip"
sha256 "ac3ccb27fe32f583b372422603faaaf6886fef5974138c16bbc6184d4b72b340"
sha256 "9eead2a99ce558b1c6c16bc504063d33ceb2fcf8490fc6d8e9ccd52a60f6405b"
else
odie "Unsupported MacOS architecture."
end
elsif OS.linux?
url "https://www.jetzig.dev/build-linux.zip"
sha256 "03741741914153eb9a55da15b3a49a206e7ff0d8d657c725be03146046fa6559"
sha256 "944a6f3ab62779c458ef1dd1c9ebfe9ba58b09d43ec91c8177b0cacd92a54eb0"
end

def install
Expand Down

0 comments on commit 92f7480

Please sign in to comment.