dlang / dub

Package and build management system for D
MIT License
673 stars 230 forks source link

Dub does not cache --single builds when executed explicitly #2672

Open CyberShadow opened 1 year ago

CyberShadow commented 1 year ago
$ dub --single test.d
(compiles test.d...)
(runs test.d)

$ dub --single test.d
(compiles test.d... again)
(runs test.d)

For some reason this only applies to explicit invocations with --single. Simply specifying the file name directly, without --single, allows Dub to cache the file.

WebFreak001 commented 1 year ago

they don't seem to cache in either case on my machine