Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1307 This syncs up some of the descriptions, author names, etc between the different Yoga packages we are going to soon publish. Reviewed By: cortinico Differential Revision: D46664187 fbshipit-source-id: b15974efee31f349650e5d23f9fcaebaef6d6dd3
35 lines
1.2 KiB
Ruby
35 lines
1.2 KiB
Ruby
# Copyright (c) Meta Platforms, Inc. and 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 = '2.0.0'
|
|
spec.license = { :type => 'MIT', :file => "LICENSE" }
|
|
spec.homepage = 'https://yogalayout.com/'
|
|
spec.documentation_url = 'https://yogalayout.com/docs'
|
|
spec.deprecated = true
|
|
|
|
spec.summary = 'YogaKit allows using the Yoga layout engine in combination with UIKit'
|
|
|
|
spec.authors = {'Meta Open Source' => 'opensource@meta.com'}
|
|
spec.source = {
|
|
:git => 'https://github.com/facebook/yoga.git',
|
|
:tag => "v#{spec.version.to_s}",
|
|
}
|
|
|
|
spec.platforms = { :ios => "13.4" }
|
|
spec.ios.frameworks = 'UIKit'
|
|
spec.module_name = 'YogaKit'
|
|
spec.dependency 'Yoga', "~> #{spec.version.to_s}"
|
|
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 = '5.1'
|
|
end
|
|
|
|
# See https://github.com/facebook/yoga/pull/366
|
|
podspec.attributes_hash["readme"] = "YogaKit/README.md"
|
|
podspec
|