Add cpde generation phase
This commit is contained in:
parent
40db24db3c
commit
fc1c0ac74b
|
|
@ -108,6 +108,7 @@ private_lane :buildConfiguration do |options|
|
|||
|
||||
installDependencies(options)
|
||||
|
||||
run_code_generation_phase_if_needed()
|
||||
generate_enabled_features_extension_if_needed(options)
|
||||
|
||||
if !(options[:uploadToFabric] || options[:uploadToAppStore])
|
||||
|
|
@ -425,3 +426,14 @@ def set_xcconfig_for_configuration_of_project(lane_name, configuration, xcodepro
|
|||
|
||||
project.save()
|
||||
end
|
||||
|
||||
# Build phases
|
||||
|
||||
def run_code_generation_phase_if_needed()
|
||||
code_generation_script_path = File.expand_path "../.githooks/scripts/CodeGen.sh"
|
||||
|
||||
if File.exists? code_generation_script_path
|
||||
sh(code_generation_script_path)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue