-
-
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.
Dont export DFLAGS & LFLAGS by default
- Loading branch information
1 parent
57f89af
commit c64b13a
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 @@ | ||
Dont propagate DFLAGS and LFLAGS to sub commands by default | ||
|
||
DFLAGS and LFLAGS will not be exported as environment variables by default. | ||
They can be accessed with $DFLAGS and $LFLAGS variables in dub.json | ||
|
||
Eg; | ||
|
||
`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