2016-04-27 15:58:49 +00:00
|
|
|
class Cli53 < Formula
|
|
|
|
desc "command-line tool for Amazon Route 53"
|
|
|
|
homepage "https://github.com/barnybug/cli53"
|
2016-09-17 08:12:19 +00:00
|
|
|
url "https://github.com/barnybug/cli53/archive/0.8.5.tar.gz"
|
|
|
|
sha256 "4da0c3210ce86768d9be50be94c65c17bdfc4c2af980d04939e404f87ce006fe"
|
2016-04-27 15:58:49 +00:00
|
|
|
|
2016-04-28 21:02:48 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-09-26 09:13:11 +00:00
|
|
|
sha256 "13ff90b5de6883f7713b5285ee43fc9c24bd3a101dccbd6b16f8b7a676b5a3dd" => :sierra
|
2016-09-17 08:15:27 +00:00
|
|
|
sha256 "971739862970057906cf8f9dcec332d7ef2ac8afa5cea508a3f6d8c339f9fe7f" => :el_capitan
|
|
|
|
sha256 "f1d457a3fbd3a9b9a8935726165ea04b5ce5c72f28fb0a12b34343396ef00e14" => :yosemite
|
|
|
|
sha256 "763bb87f2a16121b0b1bb0b6fd9068f0efc63172807a6cd774ecef9f7a084088" => :mavericks
|
2016-04-28 21:02:48 +00:00
|
|
|
end
|
|
|
|
|
2016-04-27 15:58:49 +00:00
|
|
|
depends_on "go" => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV["GOPATH"] = buildpath
|
|
|
|
mkdir_p buildpath/"src/github.com/barnybug"
|
|
|
|
ln_s buildpath, buildpath/"src/github.com/barnybug/cli53"
|
|
|
|
|
|
|
|
system "make", "build"
|
|
|
|
bin.install "cli53"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match "list domains", shell_output("#{bin}/cli53 help list")
|
|
|
|
end
|
|
|
|
end
|