Closed wilzbach closed 10 years ago
Comment author: Vladimir Panteleev <dlang-bugzilla@thecybershadow.net>
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.
Comment author: Andrej Mitrovic <andrej.mitrovich@gmail.com>
Changed to all platforms.
Note: the issue was created automatically migrated from https://issues.dlang.org
Original bug ID: BZ#13439 From: Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> Reported version: D2 CC: andrej.mitrovich@gmail.com