您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
24 行
756 B
24 行
756 B
#!/usr/bin/python -B
|
|
import os
|
|
import logging
|
|
|
|
def packages_list():
|
|
return [
|
|
("com.unity.shadergraph", "com.unity.shadergraph")
|
|
]
|
|
|
|
# Prepare an empty project for editor tests
|
|
def prepare_editor_test_project(repo_path, project_path, logger):
|
|
import unity_package_build
|
|
unity_package_build.copy_path_to_project("TestAssets", repo_path, project_path, logger)
|
|
unity_package_build.copy_path_to_project("Testing", 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."
|