Skip to content

Commit

Permalink
Use EmbedD2Dir with release builder
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-anderson committed Jul 20, 2014
1 parent 7892f86 commit 690d33c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion create_dmd_release/build_all.d
Expand Up @@ -297,9 +297,10 @@ void runBuild(Box box, string gitTag, bool combine)

case OS.windows:
{
immutable build_dir = buildPath("dmd."~ver~".windows-32", "dmd2");
sh = box.shell();
sh.stdin.writeln(`cd clones\installer\windows`);
sh.stdin.writeln(`&'C:\Program Files (x86)\NSIS\makensis' /DVersion2=`~ver~` dinstaller.nsi`);
sh.stdin.writeln(`&'C:\Program Files (x86)\NSIS\makensis' /DEmbedD2Dir=`~build_dir~` /DVersion2=`~ver~` d2-installer.nsi`);
sh.stdin.writeln(`copy dmd-`~ver~`.exe C:\Users\vagrant\dmd-`~ver~`.exe`);
sh.close();
box.scp("default:dmd-"~ver~".exe", ".");
Expand Down

0 comments on commit 690d33c

Please sign in to comment.