Add Homebrew formula
This commit is contained in:
parent
533c5ae637
commit
48824dc681
1 changed files with 18 additions and 0 deletions
18
Formula/lview.rb
Normal file
18
Formula/lview.rb
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
class Lview < Formula
|
||||||
|
desc "TUI for viewing remote logs over SSH"
|
||||||
|
homepage "https://github.com/janvete/lview"
|
||||||
|
url "https://github.com/janvete/lview/archive/refs/tags/v0.1.0.tar.gz"
|
||||||
|
sha256 "22ef0ace269a512afeeddfba27484656aafe61ac688c5a57e99bf6109277de28"
|
||||||
|
license "MIT"
|
||||||
|
head "https://github.com/janvete/lview.git", branch: "master"
|
||||||
|
|
||||||
|
depends_on "rust" => :build
|
||||||
|
|
||||||
|
def install
|
||||||
|
system "cargo", "install", *std_cargo_args
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
assert_match "TUI for viewing remote logs over SSH", shell_output("#{bin}/lview --help")
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
Add table
Reference in a new issue