mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
New GRDB.swift/FTS5 subspec
This commit is contained in:
1 parent
d21a9b90b2
commit
c5c4508bfe
1 file changed
+37
-19
+37
-19
@@ -1,20 +1,38 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'GRDB.swift'
|
||||
s.version = '3.2.0'
|
||||
|
||||
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
||||
s.summary = 'A toolkit for SQLite databases, with a focus on application development.'
|
||||
s.homepage = 'https://github.com/groue/GRDB.swift'
|
||||
s.author = { 'Gwendal Roué' => 'gr@pierlis.com' }
|
||||
s.source = { :git => 'https://github.com/groue/GRDB.swift.git', :tag => "v#{s.version}" }
|
||||
s.module_name = 'GRDB'
|
||||
|
||||
s.ios.deployment_target = '8.0'
|
||||
s.osx.deployment_target = '10.9'
|
||||
s.watchos.deployment_target = '2.0'
|
||||
|
||||
s.source_files = 'GRDB/**/*.swift', 'Support/*.h'
|
||||
s.module_map = 'Support/module.modulemap'
|
||||
s.framework = 'Foundation'
|
||||
s.library = 'sqlite3'
|
||||
def self.grdb_common(s)
|
||||
s.source_files = 'GRDB/**/*.swift', 'Support/*.h'
|
||||
end
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'GRDB.swift'
|
||||
s.version = '3.2.0'
|
||||
|
||||
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
||||
s.summary = 'A toolkit for SQLite databases, with a focus on application development.'
|
||||
s.homepage = 'https://github.com/groue/GRDB.swift'
|
||||
s.author = { 'Gwendal Roué' => 'gr@pierlis.com' }
|
||||
s.source = { :git => 'https://github.com/groue/GRDB.swift.git', :tag => "v#{s.version}" }
|
||||
s.module_name = 'GRDB'
|
||||
|
||||
s.module_map = 'Support/module.modulemap'
|
||||
s.framework = 'Foundation'
|
||||
s.library = 'sqlite3'
|
||||
|
||||
s.default_subspec = 'default'
|
||||
|
||||
s.subspec 'default' do |ss|
|
||||
grdb_common(ss)
|
||||
ss.ios.deployment_target = '8.0'
|
||||
ss.osx.deployment_target = '10.9'
|
||||
ss.watchos.deployment_target = '2.0'
|
||||
end
|
||||
|
||||
s.subspec 'FTS5' do |ss|
|
||||
grdb_common(ss)
|
||||
ss.ios.deployment_target = '11.4'
|
||||
ss.osx.deployment_target = '10.13'
|
||||
ss.watchos.deployment_target = '4.3'
|
||||
ss.xcconfig = {
|
||||
'OTHER_SWIFT_FLAGS' => '$(inherited) -D SQLITE_ENABLE_FTS5',
|
||||
}
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user