File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ $files | ForEach-Object {
2525 Write-Host $_
2626 $dir = $_ -replace " \/[^\/]+$" , " "
2727 $dir = $dir -replace " /" , " \"
28- if (Test-Path " $dir \push.bat " ) {
28+ if (Test-Path " $dir \push.ps1 " ) {
2929 Write-Host " Storing $dir for deployment"
3030 $dirs.Set_Item ($dir , 1 )
3131 } else {
3232 $dir = $dir -replace " \\[^\\]+$" , " "
33- if (Test-Path " $dir \push.bat " ) {
33+ if (Test-Path " $dir \push.ps1 " ) {
3434 Write-Host " Storing $dir for deployment"
3535 $dirs.Set_Item ($dir , 1 )
3636 }
@@ -41,6 +41,6 @@ $dirs.GetEnumerator() | Sort-Object Name | ForEach-Object {
4141 $dir = $_.Name
4242 Write-Host Building in directory $dir
4343 pushd $dir
44- . . \push.bat
44+ .\push.ps1
4545 popd
4646}
Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ $files | ForEach-Object {
1818 Write-Host $_
1919 $dir = $_ -replace " \/[^\/]+$" , " "
2020 $dir = $dir -replace " /" , " \"
21- if (Test-Path " $dir \test.bat " ) {
21+ if (Test-Path " $dir \test.ps1 " ) {
2222 Write-Host " Storing $dir for test"
2323 $dirs.Set_Item ($dir , 1 )
2424 } else {
2525 $dir = $dir -replace " \\[^\\]+$" , " "
26- if (Test-Path " $dir \test.bat " ) {
26+ if (Test-Path " $dir \test.ps1 " ) {
2727 Write-Host " Storing $dir for test"
2828 $dirs.Set_Item ($dir , 1 )
2929 }
@@ -34,6 +34,6 @@ $dirs.GetEnumerator() | Sort-Object Name | ForEach-Object {
3434 $dir = $_.Name
3535 Write-Host Testing in directory $dir
3636 pushd $dir
37- . . \test.bat
37+ .\test.ps1
3838 popd
3939}
You can’t perform that action at this time.
0 commit comments