diff --git a/YogaKit/.swift-version b/YogaKit/.swift-version new file mode 100644 index 00000000..b5021469 --- /dev/null +++ b/YogaKit/.swift-version @@ -0,0 +1 @@ +3.0.2 diff --git a/YogaKit/YogaKit.podspec b/YogaKit/YogaKit.podspec index 1329280a..fc4b2b2b 100644 --- a/YogaKit/YogaKit.podspec +++ b/YogaKit/YogaKit.podspec @@ -16,7 +16,17 @@ Pod::Spec.new do |spec| spec.documentation_url = 'https://facebook.github.io/yoga/docs/getting-started/' spec.source = { :git => 'https://github.com/facebook/yoga.git', :tag => "v#{spec.version}" } spec.platform = :ios - spec.source_files = './YogaKit/*.m', '../yoga/*.c' - spec.public_header_files = './YogaKit/YogaKit.h', './YogaKit/YGLayout.h', './YogaKit/UIView+Yoga.h', '../yoga/YGEnums.h' - spec.private_header_files = '../yoga/*.h', './YogaKit/YGLayout+Private.h' + spec.source_files = 'YogaKit/*.{h,m}', 'lib/*.{h,c}' + spec.public_header_files = [ + 'YogaKit/YogaKit.h', + 'YogaKit/YGLayout.h', + 'YogaKit/UIView+Yoga.h', + 'lib/YGEnums.h', + 'lib/YGMacros.h' + ] + spec.private_header_files = [ + 'YogaKit/YGLayout+Private.h', + 'lib/YGNodeList.h', + 'lib/Yoga.h' + ] end diff --git a/YogaKit/lib b/YogaKit/lib new file mode 120000 index 00000000..18cce15d --- /dev/null +++ b/YogaKit/lib @@ -0,0 +1 @@ +../yoga \ No newline at end of file