Skip to content

Commit 2a40431

Browse files
committed
Brew formula update for dnsimple version v0.3.0
1 parent 47d249b commit 2a40431

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

dnsimple.rb

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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

0 commit comments

Comments
 (0)