2019-10-22 19:38:48 +00:00
|
|
|
class Navi < Formula
|
|
|
|
desc "Interactive cheatsheet tool for the command-line"
|
|
|
|
homepage "https://github.com/denisidoro/navi"
|
2019-11-09 13:31:13 +00:00
|
|
|
url "https://github.com/denisidoro/navi/archive/v0.15.2.tar.gz"
|
|
|
|
sha256 "984b978f7d2803b5d2a66866b1df61021610f641b81c4196e23108c1063d9d09"
|
2019-10-22 19:38:48 +00:00
|
|
|
|
2019-10-22 19:57:53 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "7e63e48d419cf40d0e37ad5b877a24fba25bbd0e7da35fd48648b6d039266363" => :catalina
|
|
|
|
sha256 "7e63e48d419cf40d0e37ad5b877a24fba25bbd0e7da35fd48648b6d039266363" => :mojave
|
|
|
|
sha256 "7e63e48d419cf40d0e37ad5b877a24fba25bbd0e7da35fd48648b6d039266363" => :high_sierra
|
|
|
|
end
|
|
|
|
|
2019-10-22 19:38:48 +00:00
|
|
|
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
|