95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
22 lines
784 B
Ruby
22 lines
784 B
Ruby
class Mogenerator < Formula
|
|
desc "Generate Objective-C code for Core Data custom classes"
|
|
homepage "https://rentzsch.github.io/mogenerator/"
|
|
url "https://github.com/rentzsch/mogenerator/archive/1.28.tar.gz"
|
|
sha256 "5b3c8a907cc77709524a225f51b2fd8d2187f131c6338cbaf50fe4b2adfbeec7"
|
|
|
|
head "https://github.com/rentzsch/mogenerator.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "6a0c63e99ecae49d70b569b5b4507b8352ada961" => :mavericks
|
|
sha1 "abc1bcf2e7d1ebbb3258023f57e082052061a19c" => :mountain_lion
|
|
sha1 "fc60b8470f7e5441a599496aa637fd21da83934a" => :lion
|
|
end
|
|
|
|
depends_on :xcode => :build
|
|
|
|
def install
|
|
xcodebuild "-target", "mogenerator", "-configuration", "Release", "SYMROOT=symroot", "OBJROOT=objroot"
|
|
bin.install "symroot/Release/mogenerator"
|
|
end
|
|
end
|