From 01ef5c84d242051ffc371f5ee86270ff194327bf Mon Sep 17 00:00:00 2001 From: Felix Krause Date: Thu, 15 Nov 2018 06:20:53 -0800 Subject: [PATCH] Fix Ruby Podfile code style in docs (#324) Summary: 2 spaces, and space before and after the `+` Pull Request resolved: https://github.com/facebook/flipper/pull/324 Reviewed By: jknoxville Differential Revision: D13082547 Pulled By: priteshrnandgaonkar fbshipit-source-id: b6053ebde16a1f7f953704e0791622d3d59cc962 --- docs/getting-started.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 5fa3018b2..65b196e82 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -98,22 +98,22 @@ flipperkit_version = '0.11.1' target 'MyApp' do platform :ios, '9.0' - pod 'FlipperKit', '~>'+flipperkit_version + + pod 'FlipperKit', '~>' + flipperkit_version # Layout and network plugins are not yet supported for swift projects pod 'FlipperKit/FlipperKitLayoutComponentKitSupport', '~>' + flipperkit_version pod 'FlipperKit/SKIOSNetworkPlugin', '~>' + flipperkit_version pod 'FlipperKit/FlipperKitUserDefaultsPlugin', '~>' + flipperkit_version post_install do |installer| - - installer.pods_project.targets.each do |target| - if ['YogaKit'].include? target.name - target.build_configurations.each do |config| - config.build_settings['SWIFT_VERSION'] = swift_version - end - end + installer.pods_project.targets.each do |target| + if ['YogaKit'].include? target.name + target.build_configurations.each do |config| + config.build_settings['SWIFT_VERSION'] = swift_version end + end end + end end ```