refactor: add FORCE_LINT to fastlane

This commit is contained in:
Vlad Suhomlinov 2021-09-13 19:10:35 +03:00
parent db99ec0009
commit 494bc4886b
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,7 @@ private_lane :buildArchive do |options|
lane_name = options[:lane_name]
configuration = options[:configuration]
xcodeproj_path = options[:xcodeproj_path]
xcargs = "FORCE_LINT=true" # To enable linting on project without CodeLint target
if configuration != "AppStore" # AppStore uses xcconfig choosen in Xcode
set_xcconfig_for_configuration_of_project(lane_name, configuration, xcodeproj_path)
@ -166,6 +167,7 @@ private_lane :buildArchive do |options|
skip_package_ipa: options[:skip_package_ipa],
include_symbols: options[:include_symbols] || false,
include_bitcode: options[:compileBitcode] || false,
xcargs: xcargs
)
end