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

16 lines
469 B
Ruby

require 'formula'
class Mogenerator < Formula
homepage 'http://rentzsch.github.io/mogenerator/'
url 'https://github.com/rentzsch/mogenerator/archive/1.27.tar.gz'
sha1 'd9defaa6352624cacbe8640aa82af8e14de74848'
head 'https://github.com/rentzsch/mogenerator.git'
depends_on :xcode
def install
xcodebuild "-target", "mogenerator", "-configuration", "Release","SYMROOT=symroot", "OBJROOT=objroot"
bin.install "symroot/Release/mogenerator"
end
end