mirror of
https://github.com/signalapp/libsignal.git
synced 2024-09-20 03:52:17 +02:00
Swift: preserve files needed for the Rust build in podspec
This commit is contained in:
parent
9dc5f615ec
commit
0908fa5939
@ -18,7 +18,15 @@ Pod::Spec.new do |s|
|
|||||||
s.osx.deployment_target = '10.9'
|
s.osx.deployment_target = '10.9'
|
||||||
|
|
||||||
s.source_files = 'swift/Sources/**/*.swift'
|
s.source_files = 'swift/Sources/**/*.swift'
|
||||||
s.preserve_paths = ['rust/*', 'Cargo.toml', 'Cargo.lock', 'swift/Sources/SignalFfi', 'bin/*']
|
s.preserve_paths = [
|
||||||
|
'bin/*',
|
||||||
|
'Cargo.toml',
|
||||||
|
'Cargo.lock',
|
||||||
|
'rust-toolchain',
|
||||||
|
'rust/*',
|
||||||
|
'swift/*.sh',
|
||||||
|
'swift/Sources/SignalFfi',
|
||||||
|
]
|
||||||
|
|
||||||
s.pod_target_xcconfig = {
|
s.pod_target_xcconfig = {
|
||||||
'CARGO_BUILD_TARGET_DIR' => '$(DERIVED_FILE_DIR)/libsignal-ffi',
|
'CARGO_BUILD_TARGET_DIR' => '$(DERIVED_FILE_DIR)/libsignal-ffi',
|
||||||
|
Loading…
Reference in New Issue
Block a user