dub
dub copied to clipboard
Package and build management system for D
### System information - **dub version**: 1.29.0 - **OS Platform and distribution**: Arch Linux x86_64 - **compiler version**: DMD v2.100.0, LDC 1.29.0 (based on DMD v2.099.1 and LLVM 14.0.6) ###...
I believe `settings.json` was a great addition to dub, something I've personally been wanting for a while. Allowing users to e.g. choose their default compiler without having to compile `dub`...
OS Solus Linux 4.3 DUB version 1.27.0, built on Apr 13 2022 LDC - the LLVM D compiler (1.29.0) I am trying to use the default compiler in my project,...
E.g. If I accidentally type "subconfigurations" instead of "subConfigurations", I get no warning, it's just silently ignored.
configurations that select an optional dependency from a dependency can poison other configurations
### System information DUB version 1.25.0, built on Apr 23 2021 Linux Ubuntu 20.04 DMD64 D Compiler v2.096.1 ### Bug Description You can optionally specify a dependency in a configuration....
Currently when dub is run on a project that has multiple configurations, some of which select optional dependencies, dub will determine packages that should be downloaded *in case* those dependencies...
As explained in the first commit, having `--root` behave any different than `make -C` or `git -C` is IMO a mistake.
We're already using it in the CI with the bootstrap script (build.d), but users will be more likely to locally test using dub.
In case the root package directory doesn't contain a `dub.selections.json` file, dub now looks in parent directories too and potentially uses the first (deepest) one it finds - iff that...