File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -2875,6 +2875,7 @@ tektoncd-cli
28752875teku
28762876telegraf
28772877teleport
2878+ television
28782879teller
28792880telnet
28802881telnetd
Original file line number Diff line number Diff line change 1+ class Television < Formula
2+ desc "General purpose fuzzy finder TUI"
3+ homepage "https://github.com/alexpasmantier/television"
4+ url "https://github.com/alexpasmantier/television/archive/refs/tags/0.5.3.tar.gz"
5+ sha256 "2010564e2afcf6874f410faab6c235fe99943c35a944acbfe7fb9d9a3680d406"
6+ license "MIT"
7+ head "https://github.com/alexpasmantier/television.git" , branch : "main"
8+
9+ depends_on "rust" => :build
10+
11+ def install
12+ system "cargo" , "install" , *std_cargo_args
13+ end
14+
15+ test do
16+ assert_match version . to_s , shell_output ( "#{ bin } /tv -V" )
17+
18+ return if OS . linux? && ENV [ "HOMEBREW_GITHUB_ACTIONS" ]
19+
20+ begin
21+ output_log = testpath /"output.log"
22+ pid = spawn bin /"tv" , [ :out , :err ] => output_log . to_s
23+ sleep 2
24+ assert_match "Channel" , output_log . read
25+ ensure
26+ Process . kill ( "TERM" , pid )
27+ Process . wait ( pid )
28+ end
29+ end
30+ end
You can’t perform that action at this time.
0 commit comments