-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcaesar.rb
More file actions
41 lines (35 loc) · 1.16 KB
/
caesar.rb
File metadata and controls
41 lines (35 loc) · 1.16 KB
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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Caesar < Formula
desc ""
homepage "https://github.com/simonmittag/caesarcipher"
version "0.2.2"
on_macos do
url "https://github.com/simonmittag/caesarcipher/releases/download/v0.2.2/caesarcipher_0.2.2_darwin_all.tar.gz"
sha256 "649acfc8ec2a2a2624e6765375437fa385b515187464531566b464d049bbf4d7"
def install
bin.install "caesar"
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/simonmittag/caesarcipher/releases/download/v0.2.2/caesarcipher_0.2.2_linux_amd64.tar.gz"
sha256 "f60738dfcfd348a95f7bb53505bdfb44827732c19d4647deec41070baafaa016"
def install
bin.install "caesar"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/simonmittag/caesarcipher/releases/download/v0.2.2/caesarcipher_0.2.2_linux_arm64.tar.gz"
sha256 "eeaac207f6d035d28e799ac90053fc4ee958632bdbf50e40186d37b67e5e6549"
def install
bin.install "caesar"
end
end
end
end
end