Bug 6102 – [RDMD] Changing a string import file doesn't trigger a rebuild

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-06-04T00:03:00Z
Last change time
2011-09-27T15:30:14Z
Assigned to
nobody
Creator
bus_dbugzilla

Comments

Comment #0 by bus_dbugzilla — 2011-06-04T00:03:36Z
1. Build some program with RDMD 2. Modify a string import file your program uses. 3. Run RDMD again. RDMD will use the cached executable instead of rebuilding it.
Comment #1 by andrei — 2011-06-04T15:19:53Z
I talked to Walter about adding support for this in the compiler.
Comment #2 by bus_dbugzilla — 2011-08-02T19:41:01Z
The string import files are already in the .deps file, they're just marked "file" instead of "import". (At least in 2.054 anyway.) The .deps entries marked "binary", "config" and "library" should also be checked.
Comment #3 by bus_dbugzilla — 2011-08-02T22:34:06Z
Pull request fixing this issue: https://github.com/D-Programming-Language/tools/pull/6 That fixes the issue for "file" (ie string imports), "binary" and "config". Fixing it for "library" is more difficult since the path to the library has to be figured out (rather than scraped from the deps file), so I've made a separate issue for that: issue 6431
Comment #4 by bus_dbugzilla — 2011-09-27T15:30:14Z
Pull request was accepted and issue is fixed as of 2.055