🧪 Configure Carthage to only build release dependencies

This commit is contained in:
Ben Chatelain 2019-03-31 17:35:15 -06:00
parent 2ae6e8866c
commit fa38d3631c

View file

@ -26,7 +26,8 @@ class Mas < Formula
EOS EOS
ENV["XCODE_XCCONFIG_FILE"] = xcconfig ENV["XCODE_XCCONFIG_FILE"] = xcconfig
system "carthage", "bootstrap", "--platform", "macOS" # Only build necessary dependencies (Commandant, Result)
system "carthage", "bootstrap", "--platform", "macOS", "Commandant", "Result"
system "script/install", prefix system "script/install", prefix
bash_completion.install "contrib/completion/mas-completion.bash" => "mas" bash_completion.install "contrib/completion/mas-completion.bash" => "mas"