-
Notifications
You must be signed in to change notification settings - Fork 0
/
ghost.rb
58 lines (49 loc) · 1.72 KB
/
ghost.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Ghost < Formula
desc "https://github.com/ghost-language/ghost."
homepage ""
version "0.28.0"
depends_on "git"
depends_on "zsh"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/ghost-language/ghost/releases/download/v0.28.0/ghost_0.28.0_darwin_arm64.tar.gz"
sha256 "74989260a1e90cbe338c11430bce08ffc861b274500cb2cf786477d049a4e58c"
def install
bin.install "ghost"
end
end
if Hardware::CPU.intel?
url "https://github.com/ghost-language/ghost/releases/download/v0.28.0/ghost_0.28.0_darwin_amd64.tar.gz"
sha256 "aa54378d30b0d2592c0cd368bb4e349fc07424663b5805aa2abd996e4933dc2c"
def install
bin.install "ghost"
end
end
end
on_linux do
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/ghost-language/ghost/releases/download/v0.28.0/ghost_0.28.0_linux_armv6.tar.gz"
sha256 "eac99e810174dd90cde92dd8ceaecc72b9521b0330632b5d67f56ef5ead8b421"
def install
bin.install "ghost"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/ghost-language/ghost/releases/download/v0.28.0/ghost_0.28.0_linux_arm64.tar.gz"
sha256 "071cf6551f34d15df7575c491630bdd6742bc0fe17fdb810d6765108a362e1d6"
def install
bin.install "ghost"
end
end
if Hardware::CPU.intel?
url "https://github.com/ghost-language/ghost/releases/download/v0.28.0/ghost_0.28.0_linux_amd64.tar.gz"
sha256 "0e3e9b496e458ba3885c99af9a2bab543f2db141064e6e6edc4f9b4a65d4a148"
def install
bin.install "ghost"
end
end
end
end