Skip to content

Commit b358e85

Browse files
committed
Point Unity logging to a file near us, and dump it out as a part of the build.
1 parent 4014959 commit b358e85

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build-unity-packages.cmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ cd /d %~dp0
33
rem Check to make sure we've actually copied over at least something that could be the OSVR and Managed-OSVR binaries.
44
if not exist OSVR-Unity\Assets\Plugins\x86\*.dll exit /B 1
55

6-
"C:\Program Files (x86)\Unity\Editor\Unity.exe" -quit -batchmode -projectPath "%~dp0OSVR-Unity" -executeMethod OSVRUnityBuild.build
6+
"C:\Program Files (x86)\Unity\Editor\Unity.exe" -quit -batchmode -projectPath "%~dp0OSVR-Unity" -logFile "%~dp0unity.log" -executeMethod OSVRUnityBuild.build
7+
type "%~dp0unity.log"
78

89
rem Fail the build if we didn't get a unitypackage out.
910
if not exist OSVR-Unity\*.unitypackage exit /B 1

0 commit comments

Comments
 (0)