Skip to content

Instantly share code, notes, and snippets.

@jk
Created June 29, 2013 23:26
Show Gist options
  • Select an option

  • Save jk/5893113 to your computer and use it in GitHub Desktop.

Select an option

Save jk/5893113 to your computer and use it in GitHub Desktop.
Better ParseKit podspec
Pod::Spec.new do |s|
s.name = 'ParseKit'
s.version = '0.7'
s.license = 'Apache'
s.summary = 'Objective-C/Cocoa String Tokenizer and Parser toolkit. Supports Grammars.'
s.homepage = 'http://parsekit.com/'
s.author = { 'Todd Ditchendorf' => '[email protected]' }
s.source = { :git => 'https://github.com/itod/parsekit.git', :tag => '0.7'}
s.description = %{
ParseKit is a Mac OS X Framework written by Todd Ditchendorf in
Objective-C 2.0 and released under the Apache Open Source License
Version 2.0. ParseKit is suitable for use on Mac OS X Leopard,
Snow Leopard or iOS. ParseKit is an Objective-C implementation
of the tools described in Building Parsers with Java by Steven
John Metsker.
ParseKit includes additional features beyond the
designs from the book and also some changes to match common
Cocoa/Objective-C conventions. These changes are relatively superficial,
however, and Metsker’s book is the best documentation available
for ParseKit.
}
s.source_files = 'include/**/*.{h,m}', 'src/**/*.{h,m}'
s.ios.exclude_files = 'src/PKSParserGenVisitor.{h,m}'
s.osx.source_files = 'lib/MGTemplateEngine/*.{h,m}'
s.osx.exclude_files = 'lib/MGTemplateEngine/RegexKitTemplateMatcher.{h,m}', '**/RegexKitLite.{h,m}'
s.ios.prefix_header_file = 'src/ParseKitMobile_Prefix.pch'
s.osx.prefix_header_file = 'src/ParseKit_Prefix.pch'
s.ios.frameworks = 'Foundation'
s.osx.framework = 'Foundation'
s.library = 'icucore'
s.requires_arc = false
s.dependency 'RegexKitLite'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment