Bug 13439 – rdmd: Don't recompile the program if only current directory changes
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
tools
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-08T14:42:00Z
Last change time
2014-09-08T15:09:44Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0 by dlang-bugzilla — 2014-09-08T14:42:28Z
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
Comment #1 by andrej.mitrovich — 2014-09-08T15:09:44Z