Skip to content

Commit

Permalink
Change default apple_platform_type to macOS
Browse files Browse the repository at this point in the history
When using rules for Apple platforms that aren't platform specific, such
as `swift_binary`, the default of iOS doesn't make sense, instead we
should default this to the current platform, which currently can only be
macOS.
  • Loading branch information
keith committed Oct 11, 2018
1 parent 2ddc892 commit ef76e0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public class AppleCommandLineOptions extends FragmentOptions {

@Option(
name = "apple_platform_type",
defaultValue = "IOS",
defaultValue = "MACOS",
converter = PlatformTypeConverter.class,
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = {OptionEffectTag.BAZEL_INTERNAL_CONFIGURATION},
Expand Down

0 comments on commit ef76e0c

Please sign in to comment.