Skip to content

Commit

Permalink
mogenerator: fix xcode project file dependencies
Browse files Browse the repository at this point in the history
This formula was no longer building on Xcode 12.  After a lot of
investigation I think I narrowed it down to an issue with file
dependencies inside of its xcode project:
  rentzsch/mogenerator#390
  • Loading branch information
mitchblank committed Dec 22, 2020
1 parent 5516a9f commit b20af8a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/mogenerator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ class Mogenerator < Formula

depends_on xcode: :build

# https://github.com/rentzsch/mogenerator/pull/390
patch do
url "https://github.com/rentzsch/mogenerator/commit/20d9cce6df8380160cac0ce07687688076fddf3d.patch?full_index=1"
sha256 "de700f06c32cc0d4fbcb1cdd91e9e97a55931bc047841985d5c0905e65b5e5b0"
end

def install
xcodebuild "-target", "mogenerator", "-configuration", "Release", "SYMROOT=symroot", "OBJROOT=objroot"
bin.install "symroot/Release/mogenerator"
Expand Down

0 comments on commit b20af8a

Please sign in to comment.