Repository navigation
Expand file tree
/
Copy pathxmit.rb
More file actions
51 lines (44 loc) · 1.4 KB
/
Copy pathxmit.rb
File metadata and controls
51 lines (44 loc) · 1.4 KB
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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Xmit < Formula
desc "Launch static websites on xmit.co"
homepage "https://xmit.co/"
version "0.5.2"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/xmit-co/xmit/releases/download/v0.5.2/xmit_0.5.2_darwin_amd64.zip"
sha256 "dfc0c07cc1f8ac97b2919a0fc4ff7aa4ea922355da0e086616bf7a42757bb9a2"
def install
bin.install "xmit"
end
end
if Hardware::CPU.arm?
url "https://github.com/xmit-co/xmit/releases/download/v0.5.2/xmit_0.5.2_darwin_arm64.zip"
sha256 "f2b26a88f0c1e11871b64767f9a0d9615f6787678cb9776b2b7779b24b331d4a"
def install
bin.install "xmit"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/xmit-co/xmit/releases/download/v0.5.2/xmit_0.5.2_linux_amd64.zip"
sha256 "622cba94993c60fc8a010ea3a89433914e73f6d958e3c2e9dbc8995ceae46589"
def install
bin.install "xmit"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/xmit-co/xmit/releases/download/v0.5.2/xmit_0.5.2_linux_arm64.zip"
sha256 "147c909214a5581c72ab01b7be26fa66663195e74b70a915ea8b51a56538aa88"
def install
bin.install "xmit"
end
end
end
end
end