This repository was archived by the owner on Jul 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathManticoreNative.podspec
More file actions
41 lines (33 loc) · 1.45 KB
/
ManticoreNative.podspec
File metadata and controls
41 lines (33 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Pod::Spec.new do |s|
s.name = "ManticoreNative"
s.version = "1.0.0"
s.summary = "A runtime to expose Javascript classes, logic and code to native components in OS X and iOS"
s.description = %{
manticore-native runs Javascript on OS X and iOS and allows interaction between native code and JS objects via "shims"
that manage type marshaling, callbacks (both directions) and objects/methods. It is most useful in cases where you want
*broad* platform compatibility (all the way to WinXP) but do not want a cross platform UI solution (e.g. React Native).
In theory, Javascript written for Manticore will also work in React Native, but sometimes you want consolidated business
logic but not consolidated UI code.
}
s.homepage = "https://github.com/paypal/manticore-native"
s.license = 'PayPal'
s.author = { "PayPal" => "DL-PP-manticore@paypal.com" }
s.source = { :git => "git@github.com:paypal/manticore-native.git", :tag => s.version.to_s }
s.requires_arc = true
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
source_folders = [
'runtime/objc/Manticore/',
]
s.resource_bundle = {
'ManticoreNativeResources' => [
'runtime/objc/js/polyfill.pack.js',
]
}
s.frameworks = [
'Foundation',
'JavaScriptCore',
]
s.source_files = source_folders.map {|f| f + '*.{h,m}'}
s.public_header_files = source_folders.map {|f| f + '*.h'}
end