refactor: add FORCE_LINT to fastlane
This commit is contained in:
parent
db99ec0009
commit
494bc4886b
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue