Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

New formula: chrome-cli #27077

Closed
wants to merge 2 commits into from

4 participants

@x0l

Control Google Chrome from the command line
https://github.com/prasmussen/chrome-cli

@x0l x0l referenced this pull request
Closed

New formula: chrome-cli #26796

@adamv adamv added the new formula label
Library/Formula/chrome-cli.rb
@@ -0,0 +1,21 @@
+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"
+
+ depends_on :xcode
+ depends_on :macos => :mountain_lion # strange error with lion
@adamv Owner
adamv added a note

Remove this comment

@mistydemeo Owner

Can you specify what the error was?

@adamv Owner
adamv added a note

Had something to do with ARC; it's in the linked (closed) PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Library/Formula/chrome-cli.rb
@@ -0,0 +1,21 @@
+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"
+
+ depends_on :xcode
+ depends_on :macos => :mountain_lion # strange error with lion
+
+ def install
+ system 'xcodebuild', 'SDKROOT=', 'SYMROOT=build'
@adamv Owner
adamv added a note

We've added a helper for invoking xcodebuild yesterday, so:
xcodebuild "SDKROOT=", "SYMROOT=build"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@chrisk

Thanks @x0l... just tried this out (via brew pull) and it installed smoothly.

@adamv
Owner

@BrewTestBot test this please

@adamv
Owner

@Homebrew/owners this OK?

@BrewTestBot BrewTestBot closed this pull request from a commit
@BrewTestBot BrewTestBot chrome-cli: add 1.5.0 bottle.
Closes #27077.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
ab4d05b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 28, 2014
  1. @x0l

    New formula: chrome-cli

    x0l authored
  2. @x0l

    change to xcodebuild method

    x0l authored
This page is out of date. Refresh to see the latest.
Showing with 21 additions and 0 deletions.
  1. +21 −0 Library/Formula/chrome-cli.rb
View
21 Library/Formula/chrome-cli.rb
@@ -0,0 +1,21 @@
+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"
+
+ 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
Something went wrong with that request. Please try again.