blob: 4cf4b61eba776063f1d2130c83a0e63b1141404b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  | 
require "formula"
class ChromeCli < Formula
  homepage "https://github.com/prasmussen/chrome-cli"
  url "https://github.com/prasmussen/chrome-cli/archive/1.5.0.tar.gz"
  sha1 "aab28c1dfafd6a54f4de757b390bdb2b6ab0c522"
  head "https://github.com/prasmussen/chrome-cli.git"
  bottle do
    cellar :any
    sha1 "d17df1c6d002dbf1009ed604d7affaa6a7c5cfbe" => :mavericks
    sha1 "4a657ecf95a174d57960538239f0920a285a7e39" => :mountain_lion
  end
  depends_on :xcode
  depends_on :macos => :mountain_lion
  def install
    xcodebuild "SDKROOT=", "SYMROOT=build"
    bin.install 'build/Release/chrome-cli'
  end
  test do
    system "#{bin}/chrome-cli", 'version'
  end
end
  |