Align Yoga and YogaKit pod specs

Summary: Make the two podspecs more consistent with each other.

Reviewed By: dshahidehpour

Differential Revision: D4481945

fbshipit-source-id: ab782abecd709c763b4e931b6839a5cae6346281
This commit is contained in:
Emil Sjolander
2017-01-30 08:39:39 -08:00
committed by Facebook Github Bot
parent 7c77b0e48c
commit 6ad5003149
2 changed files with 25 additions and 31 deletions

View File

@@ -1,21 +1,22 @@
Pod::Spec.new do |s|
s.name = 'Yoga'
s.version = '1.0.1'
s.summary = 'A cross-platform layout engine.'
s.homepage = 'https://github.com/facebook/yoga'
s.documentation_url = 'https://facebook.github.io/yoga'
s.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.'
Pod::Spec.new do |spec|
spec.name = 'Yoga'
spec.version = '1.0.2'
spec.license = { :type => 'BSD', :file => "LICENSE" }
spec.homepage = 'https://facebook.github.io/yoga/'
spec.documentation_url = 'https://facebook.github.io/yoga/docs/api/c/'
s.license = { :type => 'BSD', :file => "LICENSE" }
s.authors = 'Facebook'
s.social_media_url = 'https://twitter.com/fbOpenSource'
s.source = {
spec.summary = 'Yoga is a cross-platform layout engine which implements Flexbox.'
spec.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.'
spec.authors = 'Facebook'
spec.source = {
:git => 'https://github.com/facebook/yoga.git',
:tag => 'v2017.01.27.00',
}
s.module_name = 'yoga'
s.requires_arc = false
s.compiler_flags = [
spec.module_name = 'yoga'
spec.requires_arc = false
spec.compiler_flags = [
'-fno-omit-frame-pointer',
'-fexceptions',
'-Wall',
@@ -23,5 +24,5 @@ Pod::Spec.new do |s|
'-std=c11',
'-fPIC'
]
s.source_files = 'yoga/**/*.{c,h}'
spec.source_files = 'yoga/**/*.{c,h}'
end

View File

@@ -1,32 +1,25 @@
Pod::Spec.new do |spec|
spec.name = 'YogaKit'
spec.version = '1.0.1'
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' => 'dshahidehpour@gmail.com'
}
spec.version = '1.0.2'
spec.license = { :type => 'BSD', :file => "LICENSE" }
spec.homepage = 'https://facebook.github.io/yoga/'
spec.documentation_url = 'https://facebook.github.io/yoga/docs/api/yogakit/'
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.description = 'Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms.'
spec.documentation_url = 'https://facebook.github.io/yoga/docs/getting-started/'
spec.authors = 'Facebook'
spec.source = {
:git => 'https://github.com/facebook/yoga.git',
:tag => 'v2017.01.27.00'
:tag => 'v2017.01.27.00',
}
spec.platform = :ios
spec.ios.deployment_target = '8.0'
spec.ios.frameworks = 'UIKit'
spec.dependency 'Yoga', '~> 1.0'
spec.source_files = 'YogaKit/Source/*.{h,m}',
spec.source_files = 'YogaKit/Source/*.{h,m}'
spec.public_header_files = 'YogaKit/Source/{YGLayout,UIView+Yoga}.h'
spec.private_header_files = 'YogaKit/Source/YGLayout+Private.h'
end