您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
32 行
1.2 KiB
32 行
1.2 KiB
#!/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")),
|
|
("com.unity.postprocessing", os.path.join("com.unity.postprocessing")),
|
|
("com.unity.testframework.graphics", os.path.join("com.unity.testframework.graphics")),
|
|
]
|
|
|
|
def test_packages_list():
|
|
return [
|
|
"com.unity.render-pipelines.core",
|
|
"com.unity.render-pipelines.lightweight",
|
|
"com.unity.render-pipelines.high-definition",
|
|
"com.unity.shadergraph",
|
|
"com.unity.postprocessing"
|
|
]
|
|
|
|
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."
|