Newer
Older
dub_jkp / changelog / dont-propagate-flags.dd
`DFLAGS` and `LFLAGS` no longer propagate to nested `dub` invocations

`DFLAGS` and `LFLAGS` will no longer be exported as environment variables by default
when invoking pre-generate, pre-build, pre-run, post-generate, post-build, or post-run commands.

If the previous behavior is still desired, they can be accessed using `$DFLAGS` and `$LFLAGS` in dub.json
E.g.:
`preGenerateCommands : ["DFLAGS=$DFLAGS env | grep DFLAGS"]`

will output DFLAGS environment variable with all the dflags used.