feat: run code generation for workspace

This commit is contained in:
Vlad Suhomlinov 2021-05-13 17:27:51 +03:00
parent 566bbe1801
commit 908f69b1f8
1 changed files with 2 additions and 2 deletions

View File

@ -440,9 +440,9 @@ end
def run_code_generation_phase_if_needed(options)
code_generation_script_path = File.expand_path "../.githooks/scripts/CodeGen.sh"
xcodeproj_path = File.expand_path options[:xcodeproj_path]
workspace_path = File.expand_path options[:workspace]
if File.exists? code_generation_script_path
sh(code_generation_script_path, xcodeproj_path)
sh(code_generation_script_path, workspace_path)
end
end