homebrew-core/Formula/launch.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

19 lines
559 B
Ruby

require 'formula'
class Launch < Formula
homepage 'http://web.sabi.net/nriley/software/'
head 'https://github.com/nriley/launch.git'
url 'http://sabi.net/nriley/software/launch-1.2.1.tar.gz'
sha1 'c9d8034da5778ee973bf64c3d3acc19e143730bd'
depends_on :xcode
def install
rm_rf "launch" # We'll build it ourself, thanks.
xcodebuild "-configuration", "Deployment", "SYMROOT=build", "clean"
xcodebuild "-configuration", "Deployment", "SYMROOT=build"
man1.install gzip('launch.1')
bin.install 'build/Deployment/launch'
end
end