Add xcodeproj_path to code generation
This commit is contained in:
parent
fc1c0ac74b
commit
f5d3b7e4ea
|
|
@ -429,11 +429,12 @@ end
|
||||||
|
|
||||||
# Build phases
|
# Build phases
|
||||||
|
|
||||||
def run_code_generation_phase_if_needed()
|
def run_code_generation_phase_if_needed(options)
|
||||||
code_generation_script_path = File.expand_path "../.githooks/scripts/CodeGen.sh"
|
code_generation_script_path = File.expand_path "../.githooks/scripts/CodeGen.sh"
|
||||||
|
xcodeproj_path = File.expand_path options[:xcodeproj_path]
|
||||||
|
|
||||||
if File.exists? code_generation_script_path
|
if File.exists? code_generation_script_path
|
||||||
sh(code_generation_script_path)
|
sh("code_generation_script_path ${xcodeproj_path}")
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue