homebrew-core/Formula/powerline-go.rb

24 lines
769 B
Ruby
Raw Normal View History

class PowerlineGo < Formula
desc "Beautiful and useful low-latency prompt for your shell"
homepage "https://github.com/justjanne/powerline-go"
url "https://github.com/justjanne/powerline-go/archive/v1.15.0.tar.gz"
sha256 "25d54855473c13348423d56406ebd0edc9318b3d4518d151994d90e49f496cb8"
2019-11-30 10:57:48 +00:00
bottle do
cellar :any_skip_relocation
sha256 "a9b6be73fc466b480d6f4fdeb318dec5ce57e5a9d693a57674ca5aa5cd04a7fb" => :catalina
sha256 "cd2f20c1bd8504a5eb449c482b9d34ada5a5d59c1ffb17173e18c7afbebb3be8" => :mojave
sha256 "d67e92a591c74edc03a01158672801a8844256c3a078de7c93c317fadcd16d39" => :high_sierra
end
depends_on "go" => :build
def install
system "go", "build", "-o", "#{bin}/#{name}"
end
test do
system "#{bin}/#{name}"
end
end