-
Notifications
You must be signed in to change notification settings - Fork 1
/
EJDB2.podspec
52 lines (39 loc) · 1.91 KB
/
EJDB2.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
41
42
43
44
45
46
47
48
49
50
51
52
Pod::Spec.new do |spec|
spec.name = 'EJDB2'
spec.version = '1.0.18'
spec.summary = 'Embeddable JSON Database engine'
spec.description = <<-DESC
EJDB2 is an embeddable JSON database engine published under MIT license.
- Single file database
- Online backups support
Simple but powerful query language (JQL) as well as support of the following standards:
- rfc6902 JSON Patch
- rfc7386 JSON Merge patch
- rfc6901 JSON Path
Powered by iowow.io - The persistent key/value storage engine
Provides HTTP REST/Websockets network endpoints with help of facil.io
JSON documents are stored in using fast and compact binn binary format
DESC
spec.homepage = 'https://ejdb.org'
spec.license = { :type => 'MIT' }
spec.author = { 'Anton Adamansky' => 'adamansky@gmail.com' }
spec.social_media_url = 'https://twitter.com/ejdblab'
spec.swift_version = '5.1'
spec.static_framework = true
spec.ios.deployment_target = '9.0'
spec.source = { :git => 'https://github.com/Softmotions/EJDB2Swift.git', :tag => "v#{spec.version}" }
spec.source_files = 'Sources/EJDB2/**/*.{c,h,m,swift}'
spec.xcconfig = { 'HEADER_SEARCH_PATHS' => ['$(PODS_ROOT)/EJDB2/include'],
'SWIFT_INCLUDE_PATHS' => ['$(PODS_ROOT)/EJDB2/Sources/CEJDB2']
}
spec.pod_target_xcconfig = {
'ARCHS' => '$(ARCHS_STANDARD_64_BIT)',
'VALID_ARCHS' => '$(ARCHS_STANDARD_64_BIT)'
}
spec.preserve_paths = ['*.sh', 'Sources/**/*', 'lib/**', 'include/**']
spec.vendored_libraries = 'lib/IOS/*.a'
spec.script_phase = { :name => 'Build EJDB libs',
:execution_position => :before_compile,
:script => 'test -f ${PODS_ROOT}/EJDB2/include/ejdb2/ejdb2.h || ${PODS_ROOT}/EJDB2/build-ios.sh' }
spec.prepare_command = "./build-ios.sh"
end