mcfly 0.5.10 (new formula)

Closes #90727.

Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Rui Chen 2021-12-08 15:39:25 -05:00 committed by BrewTestBot
parent 3536048b62
commit c1e510a8b9
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 19 additions and 0 deletions

19
Formula/mcfly.rb Normal file
View File

@ -0,0 +1,19 @@
class Mcfly < Formula
desc "Fly through your shell history"
homepage "https://github.com/cantino/mcfly"
url "https://github.com/cantino/mcfly/archive/v0.5.10.tar.gz"
sha256 "57310e2b0c51a293223b6898b247ebad81da032650201fcf2943ec73e6817026"
license "MIT"
head "https://github.com/cantino/mcfly.git", branch: "master"
depends_on "rust" => :build
def install
system "cargo", "install", *std_cargo_args
end
test do
assert_match "mcfly_prompt_command", shell_output("#{bin}/mcfly init bash")
assert_match version.to_s, shell_output("#{bin}/mcfly --version")
end
end