Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 recent contributor

Users who have contributed to this file recently

27 lines (22 sloc) 882 Bytes
class Starship < Formula
desc "The cross-shell prompt for astronauts"
homepage "https://starship.rs"
url "https://github.com/starship/starship/archive/v0.12.2.tar.gz"
sha256 "daef973624f0db3bb55913d2bb0a79b74425be903a175f8df5ef5888bdedb1e4"
head "https://github.com/starship/starship.git"
bottle do
cellar :any
sha256 "815e807ab25abfa9836106d7718a5c6ba85ea7490b617da90d8474de365ba488" => :mojave
sha256 "3ba47f8e0848a64a22265bf1586b604ef0f7becef941a5160f797c9c2ca834ad" => :high_sierra
sha256 "3506ef2def0ea2d1e7edb35325cc874c42b15c760691171489f68a6fd64347a4" => :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
You can’t perform that action at this time.