Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

New formula: chrome-cli #27077

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Library/Formula/chrome-cli.rb
Original file line number Diff line number Diff line change
@@ -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