浏览代码

Merge pull request #1126 from Unity-Technologies/build/automation

Revert modified package.json during prepare
/main
GitHub 7 年前
当前提交
7845ee5b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      build.py

6
build.py


unity_package_build.copy_file_to_project("CHANGELOG.md", ".", package_path, logger)
def cleanup(logger):
logger.info("Removing temporary files:")
logger.info("Reverting temporary file changes:")
# files.append(os.path.join(folder, "package.json"))
files.append(os.path.join(folder, "package.json"))
os.remove(file)
subprocess.call(["git", "checkout", file], cwd=".")
# Prepare an empty project for editor tests
def prepare_editor_test_project(repo_path, project_path, logger):

正在加载...
取消
保存