Skip to content
Snippets Groups Projects
Commit 75951ac5 authored by Samuel Truman's avatar Samuel Truman
Browse files

Save log for each build step for better debuggging

parent 8fed81bc
No related branches found
No related tags found
No related merge requests found
......@@ -9,18 +9,25 @@ export default class UnityBridge {
try {
Logger.get().log('UnityBridge.Init')
await this.invokeUnityMethod('de.jmu.ge.viavr.UnityBridge.Core.UnityBridge.Init', projectPath)
await Logger.get().save(projectPath + '/build_log.txt')
Logger.get().log('UnityBridge.SetupScene')
await this.invokeUnityMethod('de.jmu.ge.viavr.UnityBridge.Core.UnityBridge.SetupScene', projectPath)
await Logger.get().save(projectPath + '/build_log.txt')
Logger.get().log('Articy import')
await this.importArticy(projectPath)
await Logger.get().save(projectPath + '/build_log.txt')
Logger.get().log('UnityBridge.OnConfigureScene')
await this.invokeUnityMethod('de.jmu.ge.viavr.UnityBridge.Core.UnityBridge.OnConfigureScene', projectPath)
await Logger.get().save(projectPath + '/build_log.txt')
Logger.get().log('UnityBridge.OnConfigureLogic')
await this.invokeUnityMethod('de.jmu.ge.viavr.UnityBridge.Core.UnityBridge.OnConfigureLogic', projectPath)
await Logger.get().save(projectPath + '/build_log.txt')
Logger.get().log('UnityBridge.OnConfigureUI')
await this.invokeUnityMethod('de.jmu.ge.viavr.UnityBridge.Core.UnityBridge.OnConfigureUI', projectPath)
await Logger.get().save(projectPath + '/build_log.txt')
Logger.get().log('UnityBridge.OnPostConfiguration')
await this.invokeUnityMethod('de.jmu.ge.viavr.UnityBridge.Core.UnityBridge.OnPostConfiguration', projectPath)
await Logger.get().save(projectPath + '/build_log.txt')
// Logger.get().log('UnityBridge.ExecuteAll')
// await this.invokeUnityMethod('de.jmu.ge.viavr.UnityBridge.Core.UnityBridge.ExecuteAll', projectPath)
} catch (err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment