Closed 0xEAB closed 4 months ago
Isn't that feature request actually dub build --root=
I've understood what that means, and yeah, I do also agree that it should be like that :)
The only question is that It'll probably have to enter on the cache formula since, for example, in the area of the .pdb generation, the target path and name is also important for the linker, since it will create a hardcoded path on it, which also is important in the context of having debug info at hotloading.
This was actually one of the reasons on which I've created redub: being able to freely modify the name of the output name, which would also make me able to generate pdb's
Implemented --targetPath
and --targetName
flags, while keeping it optimized for using cache on same build types :)
You absolutely rock :metal:
Is it possible with redub to specify a target path on the command line?
Use case:
redub build --target-path="/usr/bin/app-name"
So one can have a deterministic target-path – even if the project recipe changes.Classic DUB feature request: https://github.com/dlang/dub/issues/902