www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How not to run after a DUB build ?

reply BBasile <bb.temp gmx.com> writes:
Each time I execute

`dub.exe --build=release` (or any other the build type)

DUB tries to run the project after the build.

This generates often generates an error when dub process returns 
(and even if the build is OK) but actually I don't want DUB to 
run after building. Is there a switch to avoid the exexution 
after the build ?
Sep 17 2015
parent reply BBasile <bb.temp gmx.com> writes:
On Thursday, 17 September 2015 at 19:36:10 UTC, BBasile wrote:
 Each time I execute

 `dub.exe --build=release` (or any other the build type)

 DUB tries to run the project after the build.

 This generates often generates an error when dub process 
 returns (and even if the build is OK) but actually I don't want 
 DUB to run after building. Is there a switch to avoid the 
 exexution after the build ?
NVM, just get that 'build' and '--build=' are two different things. with `dub.exe build --build=release` nothing is executed...
Sep 17 2015
parent ponce <contact gam3sfrommars.fr> writes:
On Thursday, 17 September 2015 at 19:44:36 UTC, BBasile wrote:
 On Thursday, 17 September 2015 at 19:36:10 UTC, BBasile wrote:
 Each time I execute

 `dub.exe --build=release` (or any other the build type)

 DUB tries to run the project after the build.

 This generates often generates an error when dub process 
 returns (and even if the build is OK) but actually I don't 
 want DUB to run after building. Is there a switch to avoid the 
 exexution after the build ?
NVM, just get that 'build' and '--build=' are two different things. with `dub.exe build --build=release` nothing is executed...
Yes, the default command is "dun run"
Sep 18 2015