34 lines
1.1 KiB
Ruby
34 lines
1.1 KiB
Ruby
# Uncomment this line to define a global platform for your project
|
|
platform :osx, '10.15'
|
|
|
|
inhibit_all_warnings!
|
|
|
|
source 'https://github.com/CocoaPods/Specs.git'
|
|
|
|
project 'Hammerspoon', 'Profile' => :debug
|
|
|
|
target 'Hammerspoon' do
|
|
pod 'ASCIImage', '1.0.0'
|
|
pod 'CocoaLumberjack', '3.5.3'
|
|
pod 'CocoaAsyncSocket', '7.6.5'
|
|
pod 'CocoaHTTPServer', :git => 'https://github.com/Hammerspoon/CocoaHTTPServer.git'
|
|
pod 'PocketSocket/Client', '1.0.1'
|
|
pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '7.10.0'
|
|
pod 'Sparkle', '2.1.0', :configurations => ['Release']
|
|
pod 'MIKMIDI', '1.7.1'
|
|
pod 'SocketRocket', '0.5.1'
|
|
pod 'ORSSerialPort', '2.1.0'
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
puts "Enabling assertions in #{target.name}"
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['ENABLE_NS_ASSERTIONS'] = 'YES'
|
|
if ['10.6', '10.7', '10.8'].include? config.build_settings['MACOSX_DEPLOYMENT_TARGET']
|
|
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.15'
|
|
end
|
|
end
|
|
end
|
|
end
|