homebrew-core/Formula/hyper.rb

31 lines
885 B
Ruby
Raw Normal View History

class Hyper < Formula
2016-07-13 01:14:14 +00:00
desc "Client for the Hyper_ cloud service"
homepage "https://hyper.sh"
url "https://github.com/hyperhq/hypercli.git",
:tag => "v1.10.5",
:revision => "6b9a905077cbf561fadb87c2d470ad0cfcb49345"
head "https://github.com/hyperhq/hypercli.git"
2016-07-11 05:18:25 +00:00
bottle do
cellar :any_skip_relocation
2016-12-03 01:42:24 +00:00
sha256 "6d016a6159483570c471f34ab6a2f86acc8bd4e0f428d792ca5ef6af71758e25" => :sierra
sha256 "b14e037414fb2dba4efdb78a22ecdc15483d356f9819a8aa333dd83dd01692a5" => :el_capitan
sha256 "f1da53c767960c35b75458ccc3d98fdd3eaa7a23cb1fe9af00acedc5b366a594" => :yosemite
2016-07-11 05:18:25 +00:00
end
depends_on "go" => :build
def install
ENV["GOPATH"] = buildpath
mkdir_p "src/github.com/hyperhq"
ln_s buildpath, "src/github.com/hyperhq/hypercli"
system "./build.sh"
bin.install "hyper/hyper"
end
test do
system "#{bin}/hyper", "--help"
end
end