-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtv.rb
28 lines (26 loc) · 958 Bytes
/
tv.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
# This file was generated by GoReleaser. DO NOT EDIT.
class Tv < Formula
desc "tv is a tool to view the delimited file in terminal."
homepage "https://github.com/codechenx/tv"
version "0.5.3"
bottle :unneeded
if OS.mac?
url "https://github.com/codechenx/tv/releases/download/v0.5.3/tv_0.5.3_darwin_amd64.tar.gz"
sha256 "26f022e8ebf9e33c350310f98c9aab70a059230ddf707bd993e32499d64de15b"
elsif OS.linux?
if Hardware::CPU.intel?
url "https://github.com/codechenx/tv/releases/download/v0.5.3/tv_0.5.3_linux_amd64.tar.gz"
sha256 "371136c983d1b8557ab5201962a87fbe59e08b913c50ccd8d1367e3a1280da8c"
end
if Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/codechenx/tv/releases/download/v0.5.3/tv_0.5.3_linux_arm64.tar.gz"
sha256 "f00ff2477f650049fc2b8bd2b1e3286a6e4a7886c1f92d42d772b7dbe8349a7d"
else
end
end
end
def install
bin.install "tv"
end
end