Skip to content

Commit

Permalink
Merge branch 'devel' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
nachocodoner authored Aug 7, 2024
2 parents 760ec7c + e55febb commit 1d63a66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions scripts/windows/ci/install.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Appveyor already sets $PLATFORM to exactly what we don't want, so
# Appveyor already sets $PLATFORM to exactly what we don't want, so
# we'll prepend it with 'windows_' if that seems to be the case.
If ($env:PLATFORM -Match '^x86|x64$') {
$env:PLATFORM = "windows_${env:PLATFORM}"
Expand All @@ -7,6 +7,10 @@ If ($env:PLATFORM -Match '^x86|x64$') {
$dirCheckout = (Get-Item $PSScriptRoot).parent.parent.parent.FullName
$meteorBat = Join-Path $dirCheckout 'meteor.bat'

Write-Host "Resetting git checkout..." -ForegroundColor Magenta
& git.exe -C "$dirCheckout" reset --hard
& git.exe -C "$dirCheckout" submodule foreach --recursive 'git reset --hard'

Write-Host "Updating submodules recursively..." -ForegroundColor Magenta
# Appveyor suggests -q flag for 'git submodule...' https://goo.gl/4TFAHm
& git.exe -C "$dirCheckout" submodule -q update --init --recursive
Expand All @@ -32,7 +36,6 @@ while ($attempt -gt 0 -and -not $success) {
} else {
$attempt--
}

}

If ($LASTEXITCODE -ne 0) {
Expand Down
4 changes: 2 additions & 2 deletions scripts/windows/ci/test.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# For now, we only have one script.
# For now, we only have one script.
$jUnit = Join-Path $env:TEMP 'self-test-junit-0.xml'

$tests = @(
Expand Down Expand Up @@ -27,4 +27,4 @@ If ($selfTestExitCode -eq 0) {

If ($selfTestExitCode -ne 0) {
Exit $selfTestExitCode
}
}

0 comments on commit 1d63a66

Please sign in to comment.