Fixes the Flipper-RSocket podspec to exclude .txt and .md files (#2079)

Summary:
Fixes the Flipper-RSocket podspec similar to the [RSocket podpec](https://github.com/facebook/flipper/pull/1438) to exclude the .md and .txt files from the compilation, which is throwing a warning.

Removal of these warnings:

```
warning: no rule to process file '<redacted>/ios/Pods/Flipper-RSocket/rsocket/benchmarks/CMakeLists.txt' of type 'text' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '<redacted>/ios/Pods/Flipper-RSocket/rsocket/benchmarks/README.md' of type 'net.daringfireball.markdown' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '<redacted>/ios/Pods/Flipper-RSocket/rsocket/README.md' of type 'net.daringfireball.markdown' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
```

## Changelog

Fix Flipper-RSocket podspec to exclude .txt and .md files from being included in the compilation

Pull Request resolved: https://github.com/facebook/flipper/pull/2079

Reviewed By: passy

Differential Revision: D27230095

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 0876901aaad1a3b4e8093ed4ccf1cc845e18032a
This commit is contained in:
Robert A Barclay
2021-03-22 18:25:30 -07:00
committed by Facebook GitHub Bot
parent f5b729d91c
commit 025b51a284

View File

@@ -5,7 +5,7 @@
Pod::Spec.new do |spec| Pod::Spec.new do |spec|
spec.name = 'Flipper-RSocket' spec.name = 'Flipper-RSocket'
spec.version = '1.3.0' spec.version = '1.3.1'
spec.license = { :type => 'MIT' } spec.license = { :type => 'MIT' }
spec.homepage = 'https://github.com/rsocket/rsocket-cpp' spec.homepage = 'https://github.com/rsocket/rsocket-cpp'
spec.summary = 'C++ implementation of RSocket' spec.summary = 'C++ implementation of RSocket'
@@ -13,15 +13,15 @@ Pod::Spec.new do |spec|
spec.source = { :git => 'https://github.com/priteshrnandgaonkar/rsocket-cpp.git', :tag => "0.11.0"} spec.source = { :git => 'https://github.com/priteshrnandgaonkar/rsocket-cpp.git', :tag => "0.11.0"}
spec.module_name = 'RSocket' spec.module_name = 'RSocket'
spec.static_framework = true spec.static_framework = true
spec.source_files = 'rsocket/benchmarks/*', spec.source_files = 'rsocket/benchmarks/*.{h,cpp,m,mm}',
'rsocket/framing/*', 'rsocket/framing/*.{h,cpp,m,mm}',
'rsocket/internal/*', 'rsocket/internal/*.{h,cpp,m,mm}',
'rsocket/statemachine/*', 'rsocket/statemachine/*.{h,cpp,m,mm}',
'rsocket/transports/*', 'rsocket/transports/*.{h,cpp,m,mm}',
'rsocket/transports/**/*', 'rsocket/transports/**/*.{h,cpp,m,mm}',
'yarpl/observable/*', 'yarpl/observable/*.{h,cpp,m,mm}',
'yarpl/flowable/*', 'yarpl/flowable/*.{h,cpp,m,mm}',
'rsocket/*' 'rsocket/*.{h,cpp,m,mm}'
spec.libraries = "stdc++" spec.libraries = "stdc++"
spec.compiler_flags = '-std=c++1y' spec.compiler_flags = '-std=c++1y'