-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhaturl.rb
31 lines (26 loc) · 942 Bytes
/
whaturl.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Whaturl < Formula
desc "A CLI for creating titled markup language links out of text containing raw URLs"
homepage "https://github.com/staticaland/go-whaturl"
version "0.11.0"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/staticaland/go-whaturl/releases/download/v0.11.0/go-whaturl_0.11.0_darwin_arm64.tar.gz"
sha256 "839b7b3dcc2864a7a084fd78a03f10d10ed4c64617b7adddb23e002808b3e8e3"
def install
bin.install "whaturl"
end
end
end
on_linux do
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/staticaland/go-whaturl/releases/download/v0.11.0/go-whaturl_0.11.0_linux_arm64.tar.gz"
sha256 "438d2bcce14ce940c4b6e9ebf66b52ea8b0599faaaef76c455ec812548a429ed"
def install
bin.install "whaturl"
end
end
end
end