www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19839] New: dub: running single-file package as pre generate

https://issues.dlang.org/show_bug.cgi?id=19839

          Issue ID: 19839
           Summary: dub: running single-file package as pre generate
                    command always rebuilds
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: doob me.com

If a single-file Dub package is used as a pre generate command the project
containing the pre generate command will always be rebuilt. This happens
because the path to the single-file package is not correctly added to the
package. This will later lead to the current directory, `.`, being added as a
dependency instead of the path to single-file package. This happens to the DMD
Dub package.

--
Apr 30 2019