mirror of
https://github.com/zhigang1992/CocoaPods.git
synced 2026-06-16 10:24:10 +08:00
Add MacRubySample to the rake build_examples task, now that it can specify that it needs garbage collection support.
24 lines
470 B
Ruby
24 lines
470 B
Ruby
platform :osx
|
|
|
|
generate_bridge_support!
|
|
|
|
dependency 'ASIHTTPRequest'
|
|
dependency 'SBJson'
|
|
|
|
target :debug do
|
|
dependency 'CocoaLumberjack'
|
|
end
|
|
|
|
#target :test, :exclusive => true do
|
|
# dependency 'Kiwi'
|
|
#end
|
|
|
|
# Enable garbage collection support, which MacRuby requires.
|
|
post_install do |installer|
|
|
installer.project.targets.each do |target|
|
|
target.buildConfigurations.each do |config|
|
|
config.buildSettings['GCC_ENABLE_OBJC_GC'] = 'supported'
|
|
end
|
|
end
|
|
end
|