mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
Updated and added subspecs.
This commit is contained in:
+14
-1
@@ -24,9 +24,11 @@ Pod::Spec.new do |s|
|
||||
|
||||
s.source = { :git => "https://github.com/tsolomko/SWCompression.git", :tag => "v#{s.version}" }
|
||||
|
||||
# This is subspec for internal use by other subspecs.
|
||||
# It should not be included directly in Podfile.
|
||||
s.subspec 'Common' do |sp|
|
||||
sp.public_header_files = 'Sources/Service/SWCompression.h'
|
||||
sp.source_files = "Sources/{DataWithPointer.swift,HuffmanTree.swift,Protocols.swift,Extensions.swift,Service/*.swift,Service/*.h}"
|
||||
sp.source_files = "Sources/{CheckSums.swift,DataWithPointer.swift,Extensions.swift,HuffmanTree.swift,Protocols.swift,Service/*.swift,Service/*.h}"
|
||||
end
|
||||
|
||||
s.subspec 'Deflate' do |sp|
|
||||
@@ -51,4 +53,15 @@ Pod::Spec.new do |s|
|
||||
sp.source_files = 'Sources/BZip2.swift'
|
||||
end
|
||||
|
||||
s.subspec 'LZMA' do |sp|
|
||||
sp.dependency 'SWCompression/Common'
|
||||
sp.source_files = 'Sources/LZMA*.swift'
|
||||
end
|
||||
|
||||
s.subspec 'XZ' do |sp|
|
||||
sp.dependency 'SWCompression/Common'
|
||||
sp.dependency 'SWCompression/LZMA'
|
||||
sp.source_files = 'Sources/XZArchive.swift'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user