Skip to content

Instantly share code, notes, and snippets.

@ashfurrow
Forked from tonyarnold/RXCollections.podspec
Last active December 25, 2015 13:39
Show Gist options
  • Select an option

  • Save ashfurrow/6985326 to your computer and use it in GitHub Desktop.

Select an option

Save ashfurrow/6985326 to your computer and use it in GitHub Desktop.
Note that this is OSX only. Don't know how to deal with the whole NSSize/CGSize, etc dance.
Pod::Spec.new do |s|
s.name = "RXCollections"
s.version = "1.2.1"
s.summary = "map, filter, fold, and detect for Cocoa collections."
s.homepage = "https://github.com/robrix/RXCollections"
s.license = 'BSD'
s.platform = :osx, '10.8'
s.author = { "Rob Rix" => "[email protected]" }
s.framework = 'Foundation'
s.source = { :git => "https://github.com/robrix/RXCollections.git", :tag => "#{s.version}" }
s.source_files = 'RXCollections/*.{h,m}', 'External/Lagrangian/Lagrangian/*.{h,m}', 'External/Lagrangian/External/RXPreprocessing/*.{h,m}'
s.requires_arc = true
s.prepare_command = <<-'END'
find . -regex '.*\.[hm]' -exec sed -i '' -E 's@<Lagrangian/(.*)\.h>@<RXCollections/\1.h>@' {} \;
END
end
@ashfurrow
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment