mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-24 23:18:04 -05:00
Merge pull request #1145 from ousttrue/fix/batch_build
restore CreateUnityPackageWithBuild
This commit is contained in:
commit
a3d2f058ed
|
|
@ -134,6 +134,26 @@ namespace VRM.DevOnly.PackageExporter
|
|||
CreateUnityPackages(folder);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is call from Jenkins build
|
||||
///
|
||||
/// -quit -batchMode -executeMethod VRM.DevOnly.PackageExporter.VRMExportUnityPackage.CreateUnityPackageWithBuild
|
||||
/// </summary>
|
||||
public static void CreateUnityPackageWithBuild()
|
||||
{
|
||||
var folder = GetProjectRoot();
|
||||
if (!Directory.Exists(folder))
|
||||
{
|
||||
Directory.CreateDirectory(folder);
|
||||
}
|
||||
|
||||
if (!BuildTestScene())
|
||||
{
|
||||
Debug.LogError("Failed to build test scenes");
|
||||
}
|
||||
CreateUnityPackages(folder);
|
||||
}
|
||||
|
||||
public class GlobList
|
||||
{
|
||||
public readonly string[] Files;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user