Skip to content

Instantly share code, notes, and snippets.

@cmsj
Created February 17, 2015 16:22
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 cmsj/e3bc2bb6d5d6db5f5ba3 to your computer and use it in GitHub Desktop.
Save cmsj/e3bc2bb6d5d6db5f5ba3 to your computer and use it in GitHub Desktop.
# Uncomment this line to define a global platform for your project
# platform :ios, '6.0'
source 'https://github.com/CocoaPods/Specs.git'
target 'Hammerspoon' do
pod 'lua', '~> 5.2.3'
post_install do |installer_representation|
installer_representation.project.targets.each do |target|
if (target.name == 'Pods-Hammerspoon-lua') then
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = ['LUA_USE_MACOSX=1']
end
end
end
end
pod 'Sparkle', '~> 1.8.0', :configurations => ['Release']
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment