bin/nixenvironment in nixenvironment-0.0.131 vs bin/nixenvironment in nixenvironment-0.0.132

- old
+ new

@@ -570,10 +570,12 @@ xc_args.concat(" #{other_args_str}") else xc_args = other_args_str end + FileUtils.rm_rf IOS_BUILD_DIRECTORY_NAME + Xcodebuild.build(sdk, config, xcconfig, project, workspace, scheme, env_var_prefix, xc_args) error('Build error!') unless Xcodebuild.last_cmd_success? if sdk.include?('macos') @@ -623,14 +625,10 @@ end def unity_build(configuration, unity_platform, unity_path, development_build, connect_profiler, keystore_path, keystore_password, key_alias_name, key_alias_password) save_revision - if File.directory?(UNITY_EDITOR_DIR) - FileUtils.cp_r(UNITY_BUILD_SCRIPTS_DIR, UNITY_EDITOR_DIR) - else - error("Copy #{UNITY_BUILD_SCRIPTS_PATH} error! #{UNITY_EDITOR_DIR} doesn't exist!") - end + FileUtils.cp_r(UNITY_BUILD_SCRIPTS_DIR, UNITY_EDITOR_DIR) case unity_platform when 'ios' build_path_arg = "buildPath=#{UNITY_IOS_PROJECT_PATH}" development_build_arg = development_build ? ';developmentBuild=' : '' \ No newline at end of file