-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstarport.rb
39 lines (33 loc) · 1.1 KB
/
starport.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Starport < Formula
desc "Friendly CLI tool for developing Cosmos SDK apps."
homepage "https://github.com/tendermint/starport"
version "0.19.5"
on_macos do
url "https://github.com/tendermint/starport/releases/download/v0.19.5/starport_0.19.5_darwin_amd64.tar.gz"
sha256 "ca817c58efd5efaf02b4badc42a2f53f666720cc3e4b5a6114408d86c4dcde24"
def install
bin.install "starport"
end
if Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the Starport
formula at this time. The darwin_amd64 binary may work in compatibility
mode, but it might not be fully supported.
EOS
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/tendermint/starport/releases/download/v0.19.5/starport_0.19.5_linux_amd64.tar.gz"
sha256 "ff5de1a6b955b510bb7a6e083f907e7571279bbc5a11313357ba17436e16ad35"
def install
bin.install "starport"
end
end
end
end