dub build --force but only for this package

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 28 03:02:05 PDT 2016


So I'm trying to debug a project with the work flow of
     ssh into remote box
     edit/compile/run
     if it hangs yank the power out
     repeat

this appears to corrupt the the last modification time to some 
time in the future and leads to the warning
File '../.dub/packages/vibe-d-0.7.29/vibe-d/libvibe-d_diet.a' was 
modified in the future. Please re-save.
repeated a bunch.

this also affect the files in my project, and dub is refusing to 
do a non --force'd build.

Is there a way to force dub to rebuild the current package, but 
not its dependencies, to reduce the time to compile?


More information about the Digitalmars-d-learn mailing list