Skip to content

Commit 8d9f32c

Browse files
Merge pull request #103 from StefanScherer/switch-to-ps1
Switch to ps1
2 parents 144070e + f6458d7 commit 8d9f32c

20 files changed

Lines changed: 16 additions & 13 deletions

File tree

build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ $files | ForEach-Object {
2222
Write-Host $_
2323
$dir = $_ -replace "\/[^\/]+$", ""
2424
$dir = $dir -replace "/", "\"
25-
if (Test-Path "$dir\build.bat") {
25+
if (Test-Path "$dir\build.ps1") {
2626
Write-Host "Storing $dir for build"
2727
$dirs.Set_Item($dir, 1)
2828
} else {
2929
$dir = $dir -replace "\\[^\\]+$", ""
30-
if (Test-Path "$dir\build.bat") {
30+
if (Test-Path "$dir\build.ps1") {
3131
Write-Host "Storing $dir for build"
3232
$dirs.Set_Item($dir, 1)
3333
}
@@ -38,7 +38,7 @@ $dirs.GetEnumerator() | Sort-Object Name | ForEach-Object {
3838
$dir = $_.Name
3939
Write-Host Building in directory $dir
4040
pushd $dir
41-
. .\build.bat
41+
.\build.ps1
4242
popd
4343
}
4444

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)