homebrew-core/Formula/sync_gateway.rb
BrewTestBot 1b2c281fd1 sync_gateway: add 1.0.2 bottle.
Closes Homebrew/homebrew#29736.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-30 17:22:00 +01:00

28 lines
738 B
Ruby

require "formula"
class SyncGateway < Formula
homepage "http://docs.couchbase.com/sync-gateway"
head "https://github.com/couchbase/sync_gateway.git", :branch => "master"
url "https://github.com/couchbase/sync_gateway.git", :branch => "release/1.0.2"
version "1.0.2"
bottle do
sha1 "c562b5a600af346900a97ffba3941ec7bf143cc3" => :mavericks
sha1 "f0e322874588bc5328ec5ab4880def47026960e4" => :mountain_lion
sha1 "b7b9d259e0ed15757f30b2e44881266d9dd2a4de" => :lion
end
depends_on "go" => :build
def install
system "make", "buildit"
bin.install "bin/sync_gateway"
end
test do
pid = fork { exec "#{bin}/sync_gateway" }
sleep 1
Process.kill("SIGINT", pid)
Process.wait(pid)
end
end