homebrew-tools/Formula/lines.rb

18 lines
579 B
Ruby

class Lines < Formula
desc "TUI for running frequently used commands from markdown files"
homepage "https://git.janvete.com/seth/lines"
url "https://git.janvete.com/seth/lines/archive/v0.1.21.tar.gz"
sha256 "ded707795884374e785802656fa69d8e0588dae461659c7d0e5e450fe5723526"
license "MIT"
head "https://git.janvete.com/seth/lines.git", branch: "main"
depends_on "rust" => :build
def install
system "cargo", "install", *std_cargo_args
end
test do
assert_match "TUI for running frequently used commands", shell_output("#{bin}/lines --help")
end
end