[Issue 13439] New: rdmd: Don't recompile the program if only current directory changes
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Sep 8 07:42:28 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13439
Issue ID: 13439
Summary: rdmd: Don't recompile the program if only current
directory changes
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Keywords: pull
Severity: enhancement
Priority: P1
Component: tools
Assignee: nobody at puremagic.com
Reporter: thecybershadow at gmail.com
Use the absolute path to the root .d file instead.
It is certainly possible that the build result will depend on
the current directory. For example, if the root file imports
other modules, these will be sought in the current directory
first. However, this is an unlikely use case, and can be
simulated using e.g. --force or -I%CD%.
On the other hand, having your script be rebuilt every time
it is run from a different directory is an unnecessary waste
of time and disk space.
https://github.com/D-Programming-Language/tools/pull/146
--
More information about the Digitalmars-d-bugs
mailing list