File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # typed: false
2+ # frozen_string_literal: true
3+
4+ # This file was generated by GoReleaser. DO NOT EDIT.
5+ class Dnsimple < Formula
6+ desc "DNSimple command-line tool."
7+ homepage "https://dnsimple.com"
8+ version "0.3.0"
9+ license "MIT"
10+
11+ on_macos do
12+ if Hardware ::CPU . intel?
13+ url "https://github.com/dnsimple/dnsimple-cli/releases/download/v0.3.0/dnsimple_0.3.0_darwin_amd64.tar.gz"
14+ sha256 "7a3b85c33d5efed3fd56d009fe4f51bfc0019953cc91bc81bbb995629f3e8266"
15+
16+ define_method ( :install ) do
17+ bin . install "dnsimple"
18+ end
19+ end
20+ if Hardware ::CPU . arm?
21+ url "https://github.com/dnsimple/dnsimple-cli/releases/download/v0.3.0/dnsimple_0.3.0_darwin_arm64.tar.gz"
22+ sha256 "5360a576bb59930b83aa7ac2e359c81510002dde551ef98e7834d191f06c3a58"
23+
24+ define_method ( :install ) do
25+ bin . install "dnsimple"
26+ end
27+ end
28+ end
29+
30+ on_linux do
31+ if Hardware ::CPU . intel? && Hardware ::CPU . is_64_bit?
32+ url "https://github.com/dnsimple/dnsimple-cli/releases/download/v0.3.0/dnsimple_0.3.0_linux_amd64.tar.gz"
33+ sha256 "d6e9d79d020dbae3faebc5ee23e3b3aa4a605782c89218f6f6087ea11e94806e"
34+ define_method ( :install ) do
35+ bin . install "dnsimple"
36+ end
37+ end
38+ if Hardware ::CPU . arm? && Hardware ::CPU . is_64_bit?
39+ url "https://github.com/dnsimple/dnsimple-cli/releases/download/v0.3.0/dnsimple_0.3.0_linux_arm64.tar.gz"
40+ sha256 "0d00e73362bdcf09da171244ad44f382ef24cf250effbd8e8e235b50c82495d5"
41+ define_method ( :install ) do
42+ bin . install "dnsimple"
43+ end
44+ end
45+ end
46+ end
You can’t perform that action at this time.
0 commit comments