homebrew-core/Formula/navi.rb
2019-11-23 10:31:01 -05:00

24 lines
791 B
Ruby

class Navi < Formula
desc "Interactive cheatsheet tool for the command-line"
homepage "https://github.com/denisidoro/navi"
url "https://github.com/denisidoro/navi/archive/v0.15.3.tar.gz"
sha256 "4b03693751a45ee078f62749df857f24fcbae7fe7b1c8a746bd11a79900a7e44"
bottle do
cellar :any_skip_relocation
sha256 "bd03c825dba27feb53165a9fa193817d1a29eaab01333f109ed7aa1c14a30258" => :catalina
sha256 "bd03c825dba27feb53165a9fa193817d1a29eaab01333f109ed7aa1c14a30258" => :mojave
sha256 "bd03c825dba27feb53165a9fa193817d1a29eaab01333f109ed7aa1c14a30258" => :high_sierra
end
depends_on "fzf"
def install
libexec.install Dir["*"]
bin.write_exec_script(libexec/"navi")
end
test do
assert_equal version, shell_output("#{bin}/navi --version")
end
end