-
Notifications
You must be signed in to change notification settings - Fork 0
/
caraml-core.podspec
40 lines (38 loc) · 1.49 KB
/
caraml-core.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
require "json"
lcpackage = JSON.parse(File.read(File.join(__dir__, "package.json")))
version = lcpackage['version']
Pod::Spec.new do |s|
s.name = "caraml-core"
s.version = version
s.summary = "Native mobile UI addon for LiquidCore"
s.description = <<-DESC
Provides a view that can be embedded in apps that exposes a surface API
to LiquidCore.
DESC
s.homepage = "https://github.com/LiquidPlayer/caraml-core"
s.license = {:type => "MIT", :file => "LICENSE.md"}
s.author = { "Eric Lange" => "eric@flicket.tv" }
s.platform = :ios, '11.0'
s.source = { :git => "https://github.com/LiquidPlayer/caraml-core.git", :tag => "#{s.version}" }
s.source_files = "src/*.{cpp,h}",
"caraml-core/caraml-core/*.{h,m,mm}"
s.public_header_files = [
"caraml-core/caraml-core/LCCaramlJS.h",
"caraml-core/caraml-core/LCCaramlSurface.h",
"caraml-core/caraml-core/LCCaramlView.h",
"caraml-core/caraml-core/caraml_core.h"
]
s.xcconfig = {
:CLANG_WARN_DOCUMENTATION_COMMENTS => 'NO',
:CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES => 'YES',
:OTHER_CFLAGS => [
'-Wno-nullability-completeness'
].join(' '),
:HEADER_SEARCH_PATHS => [
"${PODS_CONFIGURATION_BUILD_DIR}/LiquidCore-headers/LiquidCore_headers.framework/PrivateHeaders/v8",
"${PODS_CONFIGURATION_BUILD_DIR}/LiquidCore-headers/LiquidCore_headers.framework/PrivateHeaders/node",
].join(' '),
}
s.dependency 'LiquidCore'
s.dependency 'LiquidCore-headers'
end