Skip to content

Commit

Permalink
Change the installed dub packages' versions
Browse files Browse the repository at this point in the history
Mirror what mesonbuild/meson#13555 installs
for dub.

Signed-off-by: Andrei Horodniceanu <[email protected]>
  • Loading branch information
the-horo authored and jpakkane committed Aug 21, 2024
1 parent d84ee02 commit c45d8b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions win32/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ if ($DMD) {
& dmd.exe --version

if ($Arch -eq "x64") { $dmdArch = "x86_64" } else { $dmdArch = "x86_mscoff" }
& dub fetch urld
& dub fetch urld@3.0.0
& dub build urld --compiler=dmd --arch=$dmdArch
& dub fetch dubtestproject
& dub fetch dubtestproject@1.2.0
& dub build dubtestproject:test1 --compiler=dmd --arch=$dmdArch
& dub build dubtestproject:test2 --compiler=dmd --arch=$dmdArch
& dub build dubtestproject:test3 --compiler=dmd --arch=$dmdArch
}

echo " - Importing the correct vcvarsall.bat"
Expand Down

0 comments on commit c45d8b2

Please sign in to comment.