September 08, 2014 [phobos] [D-Programming-Language/tools] ad7b46: rdmd: Don't recompile the program if only current ... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/tools Commit: ad7b461ce93343b9e8eb917d79be5bdfc6952bfd https://github.com/D-Programming-Language/tools/commit/ad7b461ce93343b9e8eb917d79be5bdfc6952bfd Author: Vladimir Panteleev <vladimir@thecybershadow.net> Date: 2014-09-08 (Mon, 08 Sep 2014) Changed paths: M rdmd.d M rdmd_test.d Log Message: ----------- rdmd: Don't recompile the program if only current directory changes 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. Commit: 01e349a598a26a73a07323dc28f68b3088bdc15b https://github.com/D-Programming-Language/tools/commit/01e349a598a26a73a07323dc28f68b3088bdc15b Author: Andrej Mitrovic <andrej.mitrovich@gmail.com> Date: 2014-09-08 (Mon, 08 Sep 2014) Changed paths: M rdmd.d M rdmd_test.d Log Message: ----------- Merge pull request #146 from CyberShadow/pull-20140908-130749 rdmd: Don't recompile the program if only current directory changes Compare: https://github.com/D-Programming-Language/tools/compare/e6a85eacd4ac...01e349a598a2 |
Copyright © 1999-2021 by the D Language Foundation