Skip to content

Commit

Permalink
Merge pull request #116 from MartinNowak/cmdSlash
Browse files Browse the repository at this point in the history
need backslashes for DMD path on Windows
  • Loading branch information
andralex committed Feb 17, 2015
2 parents cfacf6e + f5f7a26 commit f606270
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions create_dmd_release/create_dmd_release.d
Expand Up @@ -702,8 +702,16 @@ void buildAll(Bits bits, string branch, bool dmdOnly=false)
auto bitsDisplay = toString(bits);
auto makeModel = " MODEL="~bitsStr;
auto hideStdout = verbose? "" : " > "~devNull;
version (Windows) auto jobs = ""; else auto jobs = " -j4";
auto dmdEnv = " DMD=../dmd/src/dmd";
version (Windows)
{
auto jobs = "";
auto dmdEnv = ` DMD=..\dmd\src\dmd`;
}
else
{
auto jobs = " -j4";
auto dmdEnv = " DMD=../dmd/src/dmd";
}
auto isRelease = " RELEASE=1";
auto latest = " LATEST="~branch;

Expand Down

0 comments on commit f606270

Please sign in to comment.