Skip to content

Commit 41c3579

Browse files
committed
attempt vendor-awareness in windows shelltest
1 parent 83c9f23 commit 41c3579

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

shelltests/wintest.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ mkdir $rebar3_dir | Out-Null
2424
# Clone latest rebar3 and build with relx as a checkout
2525
Push-Location $rebar3_dir
2626
& git clone "https://github.com/erlang/rebar3" .
27-
mkdir _checkouts | Out-Null
28-
New-Item -ItemType SymbolicLink -Path "_checkouts\relx" -Target "$PSScriptRoot\..\..\relx" | Out-Null
29-
(Get-Content rebar.config) -replace 'relx(.*)build/default/lib/', 'relx$1checkouts' | Set-Content rebar.config -Encoding ASCII
27+
Remove-Item -Path "vendor\relx" -Recurse -Force
28+
Copy-Item -Path "$PSScriptRoot\..\..\relx" -Destination "vendor\relx" -Recurse | Out-Null
29+
#mkdir _checkouts | Out-Null
30+
#New-Item -ItemType SymbolicLink -Path "_checkouts\relx" -Target "$PSScriptRoot\..\..\relx" | Out-Null
31+
#(Get-Content rebar.config) -replace 'relx(.*)build/default/lib/', 'relx$1checkouts' | Set-Content rebar.config -Encoding ASCII
3032
cmd /c bootstrap.bat
3133
Pop-Location
3234
""

0 commit comments

Comments
 (0)