-
Notifications
You must be signed in to change notification settings - Fork 1
/
cli.rb
66 lines (57 loc) · 1.74 KB
/
cli.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Cli < Formula
desc "Use Ory from the your terminal!"
homepage "https://www.ory.sh"
version "1.1.0"
license "Apache-2.0"
on_macos do
on_intel do
url "https://github.com/ory/cli/releases/download/v1.1.0/ory_1.1.0-macOS_sqlite_64bit.tar.gz"
sha256 "653ef16af286384f7c0ff5f4ad62021ad85d2a831da95724041df9de65d1baf3"
def install
bin.install "ory"
end
end
on_arm do
url "https://github.com/ory/cli/releases/download/v1.1.0/ory_1.1.0-macOS_sqlite_arm64.tar.gz"
sha256 "b50e288d284ed528839179733e2e9878eac3e76f4ee0a9d57299b8360986281e"
def install
bin.install "ory"
end
end
end
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/ory/cli/releases/download/v1.1.0/ory_1.1.0-linux_sqlite_64bit.tar.gz"
sha256 "1f9df4dcd4679a4570d0249a5de0dca16c439a0bd88d9db3dac9b58d926fa437"
def install
bin.install "ory"
end
end
end
on_arm do
if !Hardware::CPU.is_64_bit?
url "https://github.com/ory/cli/releases/download/v1.1.0/ory_1.1.0-linux_sqlite_armv6.tar.gz"
sha256 "c93a9536c569167f46a5fd519942ec093135d747684af94ee2be1f7fd9ebc228"
def install
bin.install "ory"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/ory/cli/releases/download/v1.1.0/ory_1.1.0-linux_sqlite_arm64.tar.gz"
sha256 "1b6fd010e2fca67be107d2cba10bb0bdbb47d7763e24de37cda2aebae0a36563"
def install
bin.install "ory"
end
end
end
end
test do
system "#{bin}/ory version"
end
end