Merge pull request #261 from TouchInstinct/feature/move_to_workspace

Feature - move to workspace
This commit is contained in:
Loupehope 2021-05-21 12:48:00 +03:00 committed by GitHub
commit 79105bf5f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -439,10 +439,11 @@ end
# Build phases
def run_code_generation_phase_if_needed(options)
appName = options[:appName] || $appName
code_generation_script_path = File.expand_path "../.githooks/scripts/CodeGen.sh"
xcodeproj_path = File.expand_path options[:xcodeproj_path]
workspace_path = File.expand_path "../#{appName}.xcworkspace"
if File.exists? code_generation_script_path
sh(code_generation_script_path, xcodeproj_path)
sh(code_generation_script_path, workspace_path)
end
end