Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make calabash podspec less brittle with .exclude

  • Loading branch information...
commit 4c0b1802f09b01fde39df973dc0255613082cc6c 1 parent 90071db
@btaylor btaylor authored btaylor-litl committed
Showing with 3 additions and 23 deletions.
  1. +3 −23 Calabash/0.9.35/Calabash.podspec
View
26 Calabash/0.9.35/Calabash.podspec
@@ -9,29 +9,9 @@ Pod::Spec.new do |s|
s.author = { 'Karl Krukow' => 'karl.krukow@gmail.com' }
s.source = { :git => 'https://github.com/calabash/calabash-ios-server.git', :tag => 'v0.9.35' }
- # Specifically call out each folder and file to ignore LPScreencastRoute and
- # ScreenCaptureView
- s.source_files = 'calabash/Classes/*.{h,m}',
- 'calabash/Classes/CocoaAsyncSocket/*.{h,m}',
- 'calabash/Classes/CocoaHttpServer/Categories/*.{h,m}',
- 'calabash/Classes/CocoaHttpServer/Responses/*.{h,m}',
- 'calabash/Classes/CocoaHttpServer/*.{h,m}',
- 'calabash/Classes/FranklyServer/*.{h,m}',
- 'calabash/Classes/FranklyServer/Operations/*.{h,m}',
- 'calabash/Classes/FranklyServer/Routes/LPAsyncPlaybackRoute.*',
- 'calabash/Classes/FranklyServer/Routes/LPBackgroundRoute.*',
- 'calabash/Classes/FranklyServer/Routes/LPInterpolateRoute.*',
- 'calabash/Classes/FranklyServer/Routes/LPMapRoute.*',
- 'calabash/Classes/FranklyServer/Routes/LPNoContentResponse.*',
- 'calabash/Classes/FranklyServer/Routes/LPPlaybackRoute.*',
- 'calabash/Classes/FranklyServer/Routes/LPRecordRoute.*',
- 'calabash/Classes/FranklyServer/Routes/LPScreenshotRoute.*',
- 'calabash/Classes/JSON/*.{h,m}',
- 'calabash/Classes/NativeDriver/*.{h,m}',
- 'calabash/Classes/Resources/*.{h,m}',
- 'calabash/Classes/UISpec/*.{h,m}',
- 'calabash/Classes/Utils/LPJSONUtils.{h,m}',
- 'calabash/Classes/Utils/LPTouchUtils.{h,m}',
+ # LPScreencastRoute and ScreenCaptureView are not built in the calabash .xocdeproj
+ s.source_files = FileList['calabash/Classes/**/*.*'].exclude(/LPScreencastRoute/) \
+ .exclude(/ScreenCaptureView/)
s.header_mappings_dir = '.'
s.frameworks = 'CFNetwork'
Please sign in to comment.
Something went wrong with that request. Please try again.