浏览代码

Return use of build.py

/main
Alex Lian 7 年前
当前提交
ae5591e0
共有 1 个文件被更改,包括 29 次插入0 次删除
  1. 29
      build.py

29
build.py


#!/usr/bin/python -B
import os
import logging
def packages_list():
return [
("com.unity.render-pipelines.core", os.path.join("com.unity.render-pipelines.core")),
("com.unity.render-pipelines.lightweight", os.path.join("com.unity.render-pipelines.lightweight")),
("com.unity.render-pipelines.high-definition", os.path.join("com.unity.render-pipelines.high-definition")),
("com.unity.shadergraph", os.path.join("com.unity.shadergraph")),
]
def test_packages_list():
return [
"com.unity.render-pipelines.core",
"com.unity.render-pipelines.lightweight",
"com.unity.render-pipelines.high-definition",
"com.unity.shadergraph"
]
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."
正在加载...
取消
保存