Summary: @public For `YogaNode.create()` Reviewed By: amir-shalem Differential Revision: D14122976 fbshipit-source-id: 5e2fe4f2039d700be6eefff2401b4333fdca3dd2
37 lines
1.3 KiB
Ruby
37 lines
1.3 KiB
Ruby
#
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the LICENSE
|
|
# file in the root directory of this source tree.
|
|
#
|
|
podspec = Pod::Spec.new do |spec|
|
|
spec.name = 'YogaKit'
|
|
spec.version = '1.12.0'
|
|
spec.license = { :type => 'MIT', :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 = '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 => spec.version.to_s,
|
|
}
|
|
|
|
spec.platform = :ios
|
|
spec.ios.deployment_target = '8.0'
|
|
spec.ios.frameworks = 'UIKit'
|
|
|
|
spec.dependency 'Yoga', '~> 1.9'
|
|
spec.source_files = 'YogaKit/Source/*.{h,m,swift}'
|
|
spec.public_header_files = 'YogaKit/Source/{YGLayout,UIView+Yoga}.h'
|
|
spec.private_header_files = 'YogaKit/Source/YGLayout+Private.h'
|
|
spec.swift_version = '3.0'
|
|
end
|
|
|
|
# See https://github.com/facebook/yoga/pull/366
|
|
podspec.attributes_hash["readme"] = "YogaKit/README.md"
|
|
podspec
|