homebrew-core/Formula/otx.rb
Alexis Hildebrandt f0882a6104 Fix xcodebuild based formulae
Add SYMROOT for xcodebuild in case the Xcode defaults
PBXApplicationwideBuildSettings specify a custom build location

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-05 11:19:34 -08:00

13 lines
310 B
Ruby

require 'formula'
class Otx <Formula
head 'http://otx.osxninja.com/builds/trunk/', :using => :svn
homepage 'http://otx.osxninja.com/'
def install
system 'xcodebuild SYMROOT=build'
build = Pathname.getwd + 'build/Release'
bin.install build+"otx"
prefix.install build+"otx.app"
end
end