Skip to content

Instantly share code, notes, and snippets.

@tonyarnold
Created October 14, 2013 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tonyarnold/6983754 to your computer and use it in GitHub Desktop.
Save tonyarnold/6983754 to your computer and use it in GitHub Desktop.
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 = { :type => "BSD", :file => "LICENSE" }
s.author = { "Rob Rix" => "rob.rix@me.com" }
s.source = { :git => "https://github.com/robrix/RXCollections.git", :tag => "#{s.version}" }
s.source_files = "RXCollections/*.{h,m}", "External/**/*.{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
@tonyarnold
Copy link
Author

Ideally, we'd create a pod spec for Langnanagnahgairnaniran as well, but it hasn't got a tagged release and it's early and god I need coffee ☕

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