浏览代码

Add local build option

Allow build.py to be invoked and utilize commands from automation tools
/main
Alex Lian 7 年前
当前提交
85558908
共有 1 个文件被更改,包括 12 次插入2 次删除
  1. 14
      build.py

14
build.py


#!/usr/bin/python -B
import os
import json
import logging

copy_path_to_project("SampleScenes", repo_path, project_path, logger)
copy_path_to_project("TestbedPipelines", repo_path, project_path, logger)
copy_path_to_project("Tests", repo_path, project_path, logger)
# Temporary until post processing handled properly
copy_path_to_project("PostProcessing", repo_path, project_path, logger)
if __name__ == "__main__":
import sys
sys.path.insert(0, os.path.abspath(os.path.join("..", "automation-tools")))
try:
import unity_package_build
build_log = unity_package_build.setup()
except ImportError:
print "No Automation Tools found."
正在加载...
取消
保存