Add podspec for C-Library.

Summary: This is the first step to adding cocoapods support to YogaKit. We are going to publish a `Yoga` framework to the store that we can use as a dependency. This will also allow developers to build their own abstractions easily using the core API.

Reviewed By: nlutsenko, emilsjolander

Differential Revision: D4466788

fbshipit-source-id: 8f08bdbf524e57c88f7fc3400c4ba6ad58f98d7f
This commit is contained in:
Dustin Shahidehpour
2017-01-26 10:38:02 -08:00
committed by Facebook Github Bot
parent e4b50f2a8d
commit 2cc2a5f2ff
2 changed files with 28 additions and 0 deletions

1
.swift-version Normal file
View File

@@ -0,0 +1 @@
3.0

27
Yoga.podspec Normal file
View File

@@ -0,0 +1,27 @@
Pod::Spec.new do |s|
s.name = 'Yoga'
s.version = '1.0.0'
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.'
s.license = { :type => 'BSD', :file => "LICENSE" }
s.authors = 'Facebook'
s.social_media_url = 'https://twitter.com/fbOpenSource'
s.source = {
:git => 'https://github.com/facebook/yoga.git',
:tag => 'v2017.01.23.00',
}
s.module_name = 'yoga'
s.requires_arc = false
s.compiler_flags = [
'-fno-omit-frame-pointer',
'-fexceptions',
'-Wall',
'-Werror',
'-std=c11',
'-fPIC'
]
s.source_files = 'yoga/**/*.{c,h}'
end