2020-01-24 20:56:51 +03:00
|
|
|
#
|
|
|
|
# Be sure to run `pod lib lint FluentIcons.podspec' to ensure this is a
|
|
|
|
# valid spec before submitting.
|
|
|
|
#
|
|
|
|
# Any lines starting with a # are optional, but their use is encouraged
|
|
|
|
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
|
|
|
|
#
|
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = 'FluentIcons'
|
2020-08-25 17:12:17 +03:00
|
|
|
s.version = '1.1.47'
|
2020-01-24 20:56:51 +03:00
|
|
|
s.summary = 'FluentIcons'
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
FluentIcons
|
|
|
|
DESC
|
|
|
|
|
2020-06-24 19:26:18 +03:00
|
|
|
s.homepage = 'https://github.com/microsoft/fluentui-system-icons'
|
2020-01-24 20:56:51 +03:00
|
|
|
s.license = { :type => 'Microsoft', :file => 'LICENSE' }
|
|
|
|
s.author = { 'Microsoft, Inc.' => 'nicroma@microsoft.com' }
|
2020-06-24 19:26:18 +03:00
|
|
|
s.source = { :git => 'https://github.com/microsoft/fluentui-system-icons.git', :tag => s.version.to_s }
|
2020-01-24 20:56:51 +03:00
|
|
|
|
|
|
|
s.ios.deployment_target = '8.0'
|
2020-05-28 00:25:50 +03:00
|
|
|
s.osx.deployment_target = '10.12'
|
2020-01-24 20:56:51 +03:00
|
|
|
|
|
|
|
# This podspec is symlinked to the root directory of this repo
|
2020-06-04 23:11:10 +03:00
|
|
|
# so all paths will need the prefix `ios/FluentIcons`
|
|
|
|
|
|
|
|
s.subspec 'Code' do |sp|
|
|
|
|
sp.source_files = 'ios/FluentIcons/Classes/*.swift'
|
|
|
|
sp.ios.source_files = 'ios/FluentIcons/Classes/ios/*.swift'
|
|
|
|
sp.osx.source_files = 'ios/FluentIcons/Classes/mac/*.swift'
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'Assets' do |sp|
|
|
|
|
# Require this to be used as a dynamic framework
|
|
|
|
# `resource_bundles` are unable to load around 1 in a thousand times
|
|
|
|
# so we need to stick to `resources` here instead.
|
|
|
|
sp.resource = 'ios/FluentIcons/Assets/IconAssets.xcassets'
|
|
|
|
end
|
|
|
|
|
|
|
|
s.subspec 'RemovalScript' do |sp|
|
|
|
|
# Command line tool to remove unused fluent icons
|
|
|
|
sp.preserve_path = 'ios/remove-unused-fluent-icons/run'
|
|
|
|
end
|
|
|
|
|
|
|
|
s.default_subspecs = 'Code', 'Assets', 'RemovalScript'
|
2020-01-24 20:56:51 +03:00
|
|
|
|
|
|
|
# s.public_header_files = 'Pod/Classes/**/*.h'
|
|
|
|
# s.frameworks = 'UIKit', 'MapKit'
|
|
|
|
# s.dependency 'AFNetworking', '~> 2.3'
|
|
|
|
end
|