-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptishell.rb
44 lines (38 loc) · 1.37 KB
/
optishell.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
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
require_relative "download_strategy"
class Optishell < Formula
desc ""
homepage "https://github.com/Optibus/homebrew-tap"
version "0.0.6"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/Optibus/optishell/releases/download/v0.0.6/optishell_Darwin_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "841b0df8fbdea2b445c43af7d0edce5f9c5db43bd0bf191cbddf9570c1126f68"
def install
bin.install "optishell"
end
end
end
on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/Optibus/optishell/releases/download/v0.0.6/optishell_Linux_x86_64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "0a05198b6c9eacd267d8f39056c44c894cac119566caac463d4bf14f1a4251b8"
def install
bin.install "optishell"
end
end
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/Optibus/optishell/releases/download/v0.0.6/optishell_Linux_arm64.tar.gz", using: GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "dcb6effc6568fb6cb67aaf9e2e685f12614b1a952275f154f99d0213795e0829"
def install
bin.install "optishell"
end
end
end
end
end