Add Yoga as pod dependency.

Yoga now exposes its C API as CocoaPod. YogaKit dependends
on it.
This commit is contained in:
Guido Marucci Blas
2017-01-26 19:40:13 -03:00
parent 6c7893f74c
commit 95df27d5f4
2 changed files with 3 additions and 7 deletions

View File

@@ -16,17 +16,14 @@ 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/*.{h,m}', 'lib/*.{h,c}'
spec.source_files = 'YogaKit/*.{h,m}',
spec.public_header_files = [
'YogaKit/YogaKit.h',
'YogaKit/YGLayout.h',
'YogaKit/UIView+Yoga.h',
'lib/YGEnums.h',
'lib/YGMacros.h'
'YogaKit/UIView+Yoga.h'
]
spec.private_header_files = [
'YogaKit/YGLayout+Private.h',
'lib/YGNodeList.h',
'lib/Yoga.h'
]
spec.dependency 'Yoga', path: '../Yoga.podspec'
end

View File

@@ -1 +0,0 @@
../yoga