Skip to content

Instantly share code, notes, and snippets.

@allenwei
Created March 28, 2012 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allenwei/2225850 to your computer and use it in GitHub Desktop.
Save allenwei/2225850 to your computer and use it in GitHub Desktop.
CocoaHTTPServer.podspec
Pod::Spec.new do |s|
s.name = 'CocoaHTTPServer'
s.version = '2.2.1'
s.license = 'BSD'
s.summary = 'A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications'
s.homepage = 'https://github.com/robbiehanson/CocoaHTTPServer'
s.authors = { 'Robbie Hanson' => 'cocoahttpserver@googlegroups.com' }
s.source = { :git => 'https://github.com/robbiehanson/CocoaHTTPServer.git', :tag => '2.2.1' }
s.source_files = '{Core,Extensions}/**/*.{h,m}'
s.clean_paths = %w{Samples Vendor}
if config.ios?
s.frameworks = 'CFNetwork', 'Security'
else
s.frameworks = 'CoreServices', 'Security'
end
s.dependency "CocoaAsyncSocket", "0.0.1"
s.dependency "CocoaLumberjack", "1.3"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment