homebrew-core/Formula/starship.rb
Matan Kushner df895fe5e7 starship 0.10.1
Closes #43217.

Signed-off-by: Jan Viljanen <527069+javian@users.noreply.github.com>
2019-08-17 12:07:20 +02:00

26 lines
899 B
Ruby
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

class Starship < Formula
desc "The cross-shell prompt for astronauts"
homepage "https://github.com/starship/starship"
url "https://github.com/starship/starship/archive/v0.10.1.tar.gz"
sha256 "ef09ad28ef73619b7d86bc6c5713a2e423c1fa4d6403c2983e8692e6b4fc2a98"
head "https://github.com/starship/starship.git"
bottle do
cellar :any
sha256 "ed28daf8b052340bbd6f7878f2de69c4cf3c73cd0f4c0effddc1d15eb8d68b6a" => :mojave
sha256 "a29dd96ad7b264023d5e0ff057c8227fe0c3b0ec4f7e011c821153a17b166519" => :high_sierra
sha256 "7ce07ba7d4292b0d5c465661ca6a09f9306465bdbca58de74070ca982c78d36e" => :sierra
end
depends_on "rust" => :build
depends_on "openssl"
def install
system "cargo", "install", "--root", prefix, "--path", "."
end
test do
ENV["STARSHIP_CONFIG"] = ""
assert_equal "➜ ", shell_output("#{bin}/starship module character")
end
end