Fix comment style and rename validateWindowsPrereqs to validateWindowsPlatformRequirements
parent
65c2007661
commit
b2edd5fa91
|
|
@ -444,7 +444,7 @@ class Docker {
|
|||
throw new Error(`Unity email and password must be set for windows based builds`);
|
||||
}
|
||||
yield this.setupWindowsRun(platform);
|
||||
this.validateWindowsPrereqs(platform);
|
||||
this.validateWindowsPlatformRequirements(platform);
|
||||
const windowsRunCommand = `docker run \
|
||||
--workdir c:/github/workspace \
|
||||
--rm \
|
||||
|
|
@ -531,8 +531,8 @@ class Docker {
|
|||
yield exec_1.exec(exportWinSDKRegKeysCommand, undefined, { silent });
|
||||
});
|
||||
}
|
||||
static validateWindowsPrereqs(platform) {
|
||||
//We run different checks for different platforms
|
||||
static validateWindowsPlatformRequirements(platform) {
|
||||
//We run different checks for different target platforms
|
||||
switch (platform) {
|
||||
case 'StandaloneWindows':
|
||||
this.checkForVisualStudio();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,15 +1,15 @@
|
|||
# First we activate Unity
|
||||
# Activate Unity
|
||||
& "c:\steps\activate.ps1"
|
||||
|
||||
# Next we import any necessary registry keys, ie: location of windows 10 sdk
|
||||
# Import any necessary registry keys, ie: location of windows 10 sdk
|
||||
# No guarantee that there will be any necessary registry keys, ie: tvOS
|
||||
Get-ChildItem -Path c:\regkeys -File | Foreach {reg import $_.fullname}
|
||||
|
||||
# Now we register the visual studio installation so Unity can find it
|
||||
# Register the Visual Studio installation so Unity can find it
|
||||
regsvr32 C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll
|
||||
|
||||
# Now we can build our project
|
||||
# Build the project
|
||||
& "c:\steps\build.ps1"
|
||||
|
||||
# Finally free the seat for the activated license
|
||||
# Free the seat for the activated license
|
||||
& "c:\steps\return_license.ps1"
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ class Docker {
|
|||
|
||||
await this.setupWindowsRun(platform);
|
||||
|
||||
this.validateWindowsPrereqs(platform);
|
||||
this.validateWindowsPlatformRequirements(platform);
|
||||
|
||||
const windowsRunCommand = `docker run \
|
||||
--workdir c:/github/workspace \
|
||||
|
|
@ -210,8 +210,8 @@ class Docker {
|
|||
await exec(exportWinSDKRegKeysCommand, undefined, { silent });
|
||||
}
|
||||
|
||||
static validateWindowsPrereqs(platform) {
|
||||
//We run different checks for different platforms
|
||||
static validateWindowsPlatformRequirements(platform) {
|
||||
//We run different checks for different target platforms
|
||||
switch (platform) {
|
||||
case 'StandaloneWindows':
|
||||
this.checkForVisualStudio();
|
||||
|
|
|
|||
Loading…
Reference in New Issue