chrome-cli: add chrome-canary-cli
This commit is contained in:
parent
840e1944e6
commit
91f6465b4e
1 changed files with 9 additions and 4 deletions
|
@ -8,17 +8,22 @@ class ChromeCli < Formula
|
|||
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
|
||||
# Release builds
|
||||
xcodebuild "SDKROOT=", "SYMROOT=build"
|
||||
bin.install 'build/Release/chrome-cli'
|
||||
bin.install "build/Release/chrome-cli"
|
||||
|
||||
# Canary builds; see:
|
||||
# https://github.com/prasmussen/chrome-cli/issues/15#issuecomment-35202217
|
||||
rm_rf "build"
|
||||
inreplace "chrome-cli/App.m", "com.google.Chrome", "com.google.Chrome.canary"
|
||||
xcodebuild "SDKROOT=", "SYMROOT=build"
|
||||
bin.install "build/Release/chrome-cli" => "chrome-canary-cli"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue