homebrew-core/Formula/wry.rb
Jack Nagel 502ff84d9c Add an xcodebuild helper and deprecate system "xcodebuild"
In the future we can remove the ENV munging branch from Formula#system.

Closes Homebrew/homebrew#27081.
2014-02-27 21:53:21 -06:00

17 lines
439 B
Ruby

require 'formula'
class Wry < Formula
homepage 'http://grailbox.com/wry/'
url 'https://github.com/hoop33/wry/archive/v1.7.2.tar.gz'
sha1 '22ac510f0f83bcdc7432ec4fac8aabdf91685ec5'
head 'https://github.com/hoop33/wry.git'
depends_on :macos => :lion
depends_on :xcode
def install
xcodebuild "-target", "wry", "-configuration", "Release", "SYMROOT=build", "OBJROOT=objroot"
bin.install 'build/Release/wry'
end
end