forked from oblador/react-native-vector-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RNVectorIcons.podspec
24 lines (22 loc) · 884 Bytes
/
RNVectorIcons.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'json'
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNVectorIcons"
s.version = package["version"]
s.summary = package["description"]
s.description = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.author = { package["author"]["name"] => package["author"]["email"] }
s.platforms = { :ios => "12.0", :tvos => "9.0" ,:visionos => "1.0"}
s.source = { :git => package["repository"]["url"], :tag => "v#{s.version}" }
s.source_files = 'RNVectorIconsManager/**/*.{h,m,mm,swift}'
s.resources = "Fonts/*.ttf"
s.preserve_paths = "**/*.js"
# React Native Core dependency
if defined? install_modules_dependencies
install_modules_dependencies(s)
else
s.dependency 'React-Core'
end
end