File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # typed: false
2+ # frozen_string_literal: true
3+
4+ # This file was generated by GoReleaser. DO NOT EDIT.
5+ class Oshiv < Formula
6+ desc "Tool for finding and connecting to OCI instances"
7+ homepage "https://github.com/cnopslabs/oshiv"
8+ version "1.2.1"
9+ license "MIT"
10+
11+ on_macos do
12+ url "https://github.com/cnopslabs/oshiv/releases/download/v1.2.1/oshiv_1.2.1_darwin_all.tar.gz"
13+ sha256 "6b656d9a5014bf651a5c5b5c02df613867591f2db144583493769582b279a7e7"
14+
15+ def install
16+ bin . install "oshiv"
17+ end
18+ end
19+
20+ on_linux do
21+ if Hardware ::CPU . intel?
22+ if Hardware ::CPU . is_64_bit?
23+ url "https://github.com/cnopslabs/oshiv/releases/download/v1.2.1/oshiv_1.2.1_linux_amd64.tar.gz"
24+ sha256 "c10b41b26510a4cbb2d993fb33fe85bbd21e4beda598fda86124e9209857c320"
25+
26+ def install
27+ bin . install "oshiv"
28+ end
29+ end
30+ end
31+ if Hardware ::CPU . arm?
32+ if Hardware ::CPU . is_64_bit?
33+ url "https://github.com/cnopslabs/oshiv/releases/download/v1.2.1/oshiv_1.2.1_linux_arm64.tar.gz"
34+ sha256 "49d60bdb1737fa12b5ae108d88a210803f420f90ea471618521c6c002af311af"
35+
36+ def install
37+ bin . install "oshiv"
38+ end
39+ end
40+ end
41+ end
42+ end
You can’t perform that action at this time.
0 commit comments