Skip to content

Instantly share code, notes, and snippets.

@bosmacs
Created March 10, 2014 18:29
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 bosmacs/9471182 to your computer and use it in GitHub Desktop.
Save bosmacs/9471182 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = "CocoaScript"
s.version = "1.0"
s.summary = "CocoaScript is a scripting language for Mac OS X built on top of JavaScript, with a bridge to Apple's Cocoa libraries. You can use it to communicate with other applications just like AppleScript does."
s.homepage = "http://jstalk.org"
s.license = "MIT"
s.author = {"Gus Mueller" => "gus@flyingmeat.com"}
s.source = {:git => "http://github.com/ccgus/cocoascript.git"}
s.source_files = "src/framework/**/*.{h,m}"
s.prefix_header_file = 'src/framework/CocoaScript_Prefix.pch'
s.requires_arc = true
s.exclude_files = "src/framework/mocha/Utilities/MOMapTable.m", "src/framework/todparsekit/**/*.{h,m}", "**/main.m"
s.subspec 'no-arc' do |sna|
sna.requires_arc = false
sna.source_files = "src/framework/mocha/Utilities/MOMapTable.m", "src/framework/todparsekit/**/*.{h,m}"
sna.exclude_files = "src/framework/todparsekit/**/TDSignificantWhitespaceState.{h,m}"
end
s.libraries = 'ffi'
end⏎
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment