Add Carthage & CocoaPods support. #352
@@ -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
|
||||
|
@@ -1 +0,0 @@
|
||||
../yoga
|
Reference in New Issue
Block a user
Why is this only targeting iOS, shouldn’t the core library be able to build for all platforms? (So minus the UIView stuff.)
While the core library could technically build on all platforms, I plan to send a PR soon with an NSView extension. I guess we could all platforms then.
Gotcha.
So then I guess my assumption that this podspec was somehow also tied to React Native’s podspec using this is incorrect. /cc @javache