aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/otx.rb
blob: 7db07512d0383bd109203424038eb727ec5c1dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class Otx < Formula
  homepage 'http://otx.osxninja.com/'
  head 'http://otx.osxninja.com/builds/trunk/', :using => :svn

  depends_on :xcode # For working xcodebuild.

  def install
    system 'xcodebuild SYMROOT=build'
    build = buildpath/'build/Release'
    bin.install build+"otx"
    prefix.install build+"otx.app"
  end
end