您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
29 行
987 B
29 行
987 B
#!/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."
|