homebrew-core/Formula/stout.rb

27 lines
876 B
Ruby
Raw Normal View History

class Stout < Formula
desc "Reliable static website deploy tool"
homepage "http://stout.is"
url "https://github.com/EagerIO/Stout/archive/v1.2.3.tar.gz"
sha256 "0c4b10be84b2a2de18020215e49d59c380aba38a13d5c975c7f45d2b8e3cf4bc"
2016-07-10 12:07:32 +00:00
2016-07-08 17:26:30 +00:00
bottle do
cellar :any_skip_relocation
2016-10-29 18:47:46 +00:00
sha256 "9e1e825f22facc7e04295268f3bd36417f2fffd596e5d1c2d5b71c861172c035" => :sierra
sha256 "aac5e3bac19e22e13d626a8d5b241659a9efd66267f970bd62ed0e394250c288" => :el_capitan
sha256 "48cae1a0395e12fe8919269033a0bb7b7d2aa314aa2284f2390b7a01bc2fb4a0" => :yosemite
2016-07-08 17:26:30 +00:00
end
depends_on "go" => :build
def install
ENV["GOPATH"] = buildpath
mkdir_p buildpath/"src/github.com/eagerio"
ln_s buildpath, buildpath/"src/github.com/eagerio/stout"
2016-07-10 12:07:32 +00:00
system "go", "build", "-o", bin/"stout", "-v", "github.com/eagerio/stout/src"
end
test do
system "#{bin}/stout"
end
end