dlang / dub

Package and build management system for D
MIT License
677 stars 227 forks source link

Dub does not show verbose output for projects with preBuildCommand #2822

Closed MrcSnm closed 9 months ago

MrcSnm commented 10 months ago

System information

Bug Description

It skips showing the verbose output for projects with preBuildCommands

How to reproduce?

Expected Behavior

Logs

Geod24 commented 9 months ago

What do you see, and what do you expect ? When I add:

preBuildCommands "ls -l"

To dub.sdl and use dub build -v I see:

   Pre-build Running commands
Running ls -l
[ls -l output]

I also tested with dependencies, e.g. dub build -v -c library-nonet:

     Pre-gen Running commands for openssl
Running /home/mlang/dlang/ldc-1.35.0/bin/ldc2 -run scripts/generate_version.d
MrcSnm commented 9 months ago

It is working here too, maybe I was sleepy when I saw the logs, sorry :(