18 lines
556 B
Ruby
18 lines
556 B
Ruby
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.2.tar.gz"
|
|
sha256 "6be5d34782878d4065bd5871f7995e0a67168f9ab003da89c91e73c7d9ac6a43"
|
|
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
|