Skip to content

Commit

Permalink
mobiledevice 2.0.0 (new formula)
Browse files Browse the repository at this point in the history
mobiledevice is a command line utility for interacting with Apple's
Private Mobile Device Framework. It can be used for automating several
tasks like installing and uninstalling apps on your iPhone/iPad without
having to manually do it via Xcode or iTunes. And you don't need a
jailbroken device!

Closes Homebrew/legacy-homebrew#37711.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
imkira authored and MikeMcQuaid committed Mar 15, 2015
1 parent 5b4266b commit 4f0a26a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Formula/mobiledevice.rb
@@ -0,0 +1,15 @@
class Mobiledevice < Formula
homepage "https://github.com/imkira/mobiledevice"
url "https://github.com/imkira/mobiledevice/archive/v2.0.0.tar.gz"
sha256 "07b167f6103175c5eba726fd590266bf6461b18244d34ef6d05a51fc4871e424"

def install
system "make", "install", "CC=#{ENV.cc}", "PREFIX=#{prefix}"
end

test do
cur_version = shell_output("#{bin}/mobiledevice version").strip
assert_match "#{version}", cur_version
system("#{bin}/mobiledevice list_devices")
end
end

0 comments on commit 4f0a26a

Please sign in to comment.