Carthage and CocoaPods support #309

Closed
guidomb wants to merge 5 commits from cocoapods-support into master
23 changed files with 861 additions and 434 deletions
Showing only changes of commit 2fe3211845 - Show all commits

21
YogaKit/YogaKit.podspec Normal file
View File

@@ -0,0 +1,21 @@
Pod::Spec.new do |spec|
d16r commented 2016-12-28 08:44:41 -08:00 (Migrated from github.com)
Review
dshahidehpour@gmail.com ;)
d16r commented 2016-12-28 08:46:23 -08:00 (Migrated from github.com)
Review

YogaKit is a view layout library which is powered by Yoga, a layout engine which implements Flexbox.

YogaKit is a view layout library which is powered by Yoga, a layout engine which implements Flexbox.
guidomb commented 2016-12-28 09:21:12 -08:00 (Migrated from github.com)
Review

I've copied pasted that description from the one that appears in Yoga's GitHub repository. Should I change it anyways?

I've copied pasted that description from the one that appears in Yoga's GitHub repository. Should I change it anyways?
spec.name = 'YogaKit'
spec.version = 'v2016.12.26.00'
spec.license = { :type => 'BSD-3-Clause', :file => '../LICENSE' }
spec.homepage = 'https://facebook.github.io/yoga/'
spec.authors = {
'Emil Sjölander' => 'sjolander.emil@gmail.com',
'Dustin Shahidehpour' => 'email@email.com'
}
spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.'
spec.description = <<-DESC
Yoga is a cross-platform layout engine which implements Flexbox.
It enables maximum collaboration within your team by implementing an API familiar to
many designers and opening it up to developers across different platforms.
DESC
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 = './UIView+Yoga.m', '../yoga/*.c'
spec.public_header_files = './UIView+Yoga.h', '../yoga/*.h'
end