mirror of
https://github.com/google/santa.git
synced 2026-01-21 03:58:11 -05:00
40 lines
757 B
Ruby
40 lines
757 B
Ruby
platform :osx, "10.9"
|
|
|
|
inhibit_all_warnings!
|
|
|
|
target :santactl do
|
|
pod 'MOLCertificate'
|
|
pod 'MOLCodesignChecker'
|
|
end
|
|
|
|
target :Santa do
|
|
pod 'MOLCertificate'
|
|
pod 'MOLCodesignChecker'
|
|
end
|
|
|
|
target :santad do
|
|
pod 'MOLCertificate'
|
|
pod 'MOLCodesignChecker'
|
|
pod 'FMDB'
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
if config.name != 'Release' then
|
|
break
|
|
end
|
|
|
|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ''
|
|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] <<= "NDEBUG=1"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
target :LogicTests do
|
|
pod 'FMDB'
|
|
pod 'MOLCertificate'
|
|
pod 'MOLCodesignChecker'
|
|
pod 'OCMock'
|
|
end
|