-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't export DFLAGS & LFLAGS to nested invocations by default
- Loading branch information
1 parent
57f89af
commit 4c6a19e
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
`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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters