Skip to content

Commit 60142d7

Browse files
author
Stanislav Felinskyi
committed
Misc: Updates
1 parent fb51f78 commit 60142d7

File tree

4 files changed

+1
-71
lines changed

4 files changed

+1
-71
lines changed

BuildScripts/Unity-Hub/build.bat

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,2 @@
11
@echo off
2-
echo CallPSHere
3-
4-
5-
.\build.ps1 -buildTarget Android --pipeline Android_Sanitary
6-
7-
8-
"C:\Program Files\Unity\Hub\Editor\2021.3.2f1\Editor\Unity.exe" -batchMode -skipMissingProjectID -skipMissingUPID -buildTarget Android -logFile - -projectPath "C:\BuildAgent\work\be9cd028bb2b0e90" -quit
9-
10-
11-
"C:\Program Files\Unity\Hub\Editor\2021.3.2f1\Editor\Unity.exe" -batchmode -createManualActivationFile -logfile "C:\BuildAgent\work\be9cd028bb2b0e90\myLog.txt"
12-
13-
14-
15-
--pipeline Android_Development -buildTarget Android
2+
echo TODO CallPSHere

BuildScripts/Unity-Hub/build.ps1

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,3 @@ Get-Content -Path "$BuildLog" -Tail 1 -Wait | Where-Object {
3535
exit $exitCode
3636
}
3737
}
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
# Previous version
50-
#
51-
## Start the Unity process in background thread.
52-
#Write-Host -NoNewLine 'Building...'
53-
#$unity = Start-Process -FilePath "$UnityPath" -ArgumentList "-quit -quitTimeout $QuitTimeout -batchmode -projectPath $ProjectPath -executeMethod UniTools.Build.BatchModeBuilder.Execute -logFile $BuildLog $args" -PassThru
54-
## Wait untill the process will be completed
55-
#while (!$unity.HasExited)
56-
#{
57-
# Start-Sleep -Seconds 1.0
58-
# Write-Host -NoNewLine '.'
59-
#}
60-
#Write-Host '.'
61-
#[string]$code = $unity.ExitCode
62-
#Write-Output "Build Completed with a code = $code "
63-
#exit $unity.ExitCode

BuildScripts/Unity-Hub/unity.ps1

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,3 @@ Get-Content -Path "$BuildLog" -Tail 1 -Wait | Where-Object {
3535
exit $exitCode
3636
}
3737
}
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
# Previous version
50-
#
51-
## Start the Unity process in background thread.
52-
#Write-Host -NoNewLine 'Building...'
53-
#$unity = Start-Process -FilePath "$UnityPath" -ArgumentList "-quit -quitTimeout $QuitTimeout -batchmode -projectPath $ProjectPath -executeMethod UniTools.Build.BatchModeBuilder.Execute -logFile $BuildLog $args" -PassThru
54-
## Wait untill the process will be completed
55-
#while (!$unity.HasExited)
56-
#{
57-
# Start-Sleep -Seconds 1.0
58-
# Write-Host -NoNewLine '.'
59-
#}
60-
#Write-Host '.'
61-
#[string]$code = $unity.ExitCode
62-
#Write-Output "Build Completed with a code = $code "
63-
#exit $unity.ExitCode

BuildScripts/Unity-Hub/unity.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22
#This script is usefull to run Unity CLI commands
33

4-
54
#Read a Unity Version as a first arg (can be empty) in this case the version will be defined from the Project settings.
65
UNITY_VERSION="$1"
76
#Build Unity Path according to the OS
@@ -40,7 +39,3 @@ echo "Unity path is $UNITY_PATH"
4039

4140
#Execute the command
4241
"$UNITY_PATH" "$@"
43-
44-
45-
46-
#$UNITY_PATH -quit -quitTimeout $QUIT_TIMEOUT -batchmode -projectPath $PROJECT_PATH -executeMethod UniTools.Build.BatchModeBuilder.Execute -logFile - "$@"

0 commit comments

Comments
 (0)