diff --git a/Homebrew/mas-tap.rb b/Homebrew/mas-tap.rb index e4fa9b5..b6d434f 100644 --- a/Homebrew/mas-tap.rb +++ b/Homebrew/mas-tap.rb @@ -21,8 +21,9 @@ class Mas < Formula depends_on :xcode => ["10.0", :build] def install - # Prevent warnings from causing build failures - # Prevent linker errors by telling all lib builds to use max size install names + # Working around build issues in dependencies + # - Prevent warnings from causing build failures + # - Prevent linker errors by telling all lib builds to use max size install names xcconfig = buildpath/"Overrides.xcconfig" xcconfig.write <<~EOS GCC_TREAT_WARNINGS_AS_ERRORS = NO @@ -31,14 +32,6 @@ class Mas < Formula ENV["XCODE_XCCONFIG_FILE"] = xcconfig system "carthage", "bootstrap", "--platform", "macOS" - - xcodebuild "install", - "-project", "mas-cli.xcodeproj", - "-scheme", "mas-cli Release", - "-configuration", "Release", - "OBJROOT=build", - "SYMROOT=build" - system "script/install", prefix bash_completion.install "contrib/completion/mas-completion.bash" => "mas" diff --git a/Homebrew/mas.rb b/Homebrew/mas.rb index 3bd9023..93af42a 100644 --- a/Homebrew/mas.rb +++ b/Homebrew/mas.rb @@ -16,8 +16,9 @@ class Mas < Formula depends_on :xcode => ["10.0", :build] def install - # Prevent warnings from causing build failures - # Prevent linker errors by telling all lib builds to use max size install names + # Working around build issues in dependencies + # - Prevent warnings from causing build failures + # - Prevent linker errors by telling all lib builds to use max size install names xcconfig = buildpath/"Overrides.xcconfig" xcconfig.write <<~EOS GCC_TREAT_WARNINGS_AS_ERRORS = NO @@ -26,14 +27,6 @@ class Mas < Formula ENV["XCODE_XCCONFIG_FILE"] = xcconfig system "carthage", "bootstrap", "--platform", "macOS" - - xcodebuild "install", - "-project", "mas-cli.xcodeproj", - "-scheme", "mas-cli Release", - "-configuration", "Release", - "OBJROOT=build", - "SYMROOT=build" - system "script/install", prefix bash_completion.install "contrib/completion/mas-completion.bash" => "mas"