Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Jun 25, 2024
1 parent 0558c21 commit 8b54204
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/dub/dub.d
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ class Dub {
{
this.fs = fs;
m_rootPath = NativePath(root_path);
import std.stdio;
writeln("root_path: ", root_path);
writeln("m_rootPath: ", this.m_rootPath.toNativeString());
if (!m_rootPath.absolute) m_rootPath = fs.getcwd() ~ m_rootPath;

init();
Expand Down Expand Up @@ -1663,6 +1666,9 @@ class Dub {

auto dub = new TestDub(null, ".", null, SkipPackageSuppliers.configured);
immutable testdir = dub.fs.getcwd() ~ "test-determineDefaultCompiler";
import std.stdio;
writeln("CWD: ", dub.fs.getcwd());
writeln("testdir: ", testdir);

immutable olddc = environment.get("DC", null);
immutable oldpath = environment.get("PATH", null);
Expand Down

0 comments on commit 8b54204

Please sign in to comment.