From 025b51a2840c5c845d802cbd9239548131798b82 Mon Sep 17 00:00:00 2001 From: Robert A Barclay Date: Mon, 22 Mar 2021 18:25:30 -0700 Subject: [PATCH] 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 '/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 '/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 '/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 --- iOS/Podspecs/Flipper-RSocket.podspec | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/iOS/Podspecs/Flipper-RSocket.podspec b/iOS/Podspecs/Flipper-RSocket.podspec index 4a3080f50..813916e60 100644 --- a/iOS/Podspecs/Flipper-RSocket.podspec +++ b/iOS/Podspecs/Flipper-RSocket.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |spec| spec.name = 'Flipper-RSocket' - spec.version = '1.3.0' + spec.version = '1.3.1' spec.license = { :type => 'MIT' } spec.homepage = 'https://github.com/rsocket/rsocket-cpp' 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.module_name = 'RSocket' spec.static_framework = true - spec.source_files = 'rsocket/benchmarks/*', - 'rsocket/framing/*', - 'rsocket/internal/*', - 'rsocket/statemachine/*', - 'rsocket/transports/*', - 'rsocket/transports/**/*', - 'yarpl/observable/*', - 'yarpl/flowable/*', - 'rsocket/*' + spec.source_files = 'rsocket/benchmarks/*.{h,cpp,m,mm}', + 'rsocket/framing/*.{h,cpp,m,mm}', + 'rsocket/internal/*.{h,cpp,m,mm}', + 'rsocket/statemachine/*.{h,cpp,m,mm}', + 'rsocket/transports/*.{h,cpp,m,mm}', + 'rsocket/transports/**/*.{h,cpp,m,mm}', + 'yarpl/observable/*.{h,cpp,m,mm}', + 'yarpl/flowable/*.{h,cpp,m,mm}', + 'rsocket/*.{h,cpp,m,mm}' spec.libraries = "stdc++" spec.compiler_flags = '-std=c++1y'