Skip to content

Commit b7164ee

Browse files
add podspec
1 parent c57e35b commit b7164ee

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

react-native-static-server.podspec

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
require 'json'
2+
3+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4+
5+
Pod::Spec.new do |s|
6+
s.name = package['name']
7+
s.version = package['version']
8+
s.summary = package['description']
9+
s.description = package['description']
10+
s.license = package['license']
11+
s.author = package['author']
12+
s.homepage = package['homepage']
13+
s.source = { :git => 'https://github.com/futurepress/react-native-static-server.git' }
14+
15+
s.requires_arc = true
16+
s.platform = :ios, '7.0'
17+
18+
s.preserve_paths = 'README.md', 'package.json', 'index.js'
19+
s.source_files = 'ios/*.{h,m}', 'ios/GCDWebServer/*/*.{h,m}'
20+
21+
s.dependency 'React'
22+
end

0 commit comments

Comments
 (0)