File tree Expand file tree Collapse file tree 4 files changed +1
-71
lines changed Expand file tree Collapse file tree 4 files changed +1
-71
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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.
65UNITY_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 - "$@"
You can’t perform that action at this time.
0 commit comments