homebrew-core/Formula/otx.rb
Jack Nagel e77bacb581 otx: use buildpath instead of Pathname.pwd
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-08 01:15:11 -05:00

13 lines
304 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 = buildpath/'build/Release'
bin.install build+"otx"
prefix.install build+"otx.app"
end
end