23 lines
1.0 KiB
Ruby
23 lines
1.0 KiB
Ruby
use_frameworks!
|
|
platform :ios, '9.3'
|
|
|
|
pod 'SelectionList', :path => '..'
|
|
pod 'SwiftQuality', :git => 'https://github.com/yonat/SwiftQuality'
|
|
|
|
target 'SelectionListDemo' do
|
|
script_phase :name => 'SwiftFormat',
|
|
:execution_position => :before_compile,
|
|
:script => 'if [ "Debug" == "${CONFIGURATION}" ]; then "${PODS_ROOT}/SwiftFormat/CommandLineTool/swiftformat" --swiftversion ${SWIFT_VERSION} --config "${PODS_ROOT}/SwiftQuality/.swiftformat" "${SRCROOT}/.." ; fi'
|
|
|
|
script_phase :name => 'SwiftLintAutocorrect',
|
|
:execution_position => :before_compile,
|
|
:script => 'if [ "Debug" == "${CONFIGURATION}" ]; then "${PODS_ROOT}/SwiftLint/swiftlint" autocorrect --config "${PODS_ROOT}/SwiftQuality/.swiftlint.yml" --path "${SRCROOT}/.." ; fi'
|
|
|
|
script_phase :name => 'SwiftLint',
|
|
:execution_position => :after_compile,
|
|
:script => 'if [ "Debug" == "${CONFIGURATION}" ]; then "${PODS_ROOT}/SwiftLint/swiftlint" --config "${PODS_ROOT}/SwiftQuality/.swiftlint.yml" --path "${SRCROOT}/.." ; fi'
|
|
end
|
|
|
|
target 'SelectionListDemoUITests' do
|
|
end
|