homebrew-core/Formula/navi.rb

25 lines
791 B
Ruby
Raw Normal View History

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.17.0.tar.gz"
sha256 "6de54da35cd6491c8a516efa78f0c866abc6eb2d81347d7faf6b905aeb443c95"
2019-10-22 19:57:53 +00:00
bottle do
cellar :any_skip_relocation
2019-12-17 23:41:50 +00:00
sha256 "9b632acac9a218b9240665efcbb65004cefc66f756a56b834896d36edb581538" => :catalina
sha256 "9b632acac9a218b9240665efcbb65004cefc66f756a56b834896d36edb581538" => :mojave
sha256 "9b632acac9a218b9240665efcbb65004cefc66f756a56b834896d36edb581538" => :high_sierra
2019-10-22 19:57:53 +00:00
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