You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a customised build.ps1 that allows certain script parameters to be overridden by environment variables, this is particularly useful for the -Verbosity parameter.
I am by no means a "powershell guy" but thought that this sort of alteration would be beneficial to others.
Environment Variable Naming
CAKE_SCRIPT, CAKE_TARGET and CAKE_VERBOSITY are named to prevent potential conflicts with other environment variables, while CONFIGURATION is specifically named this way as AppVeyor (maybe other CI servers) will set this to the build configuration.
Of course I have only done this for the powershell bootstrapper as we are building on Windows, I assume a similar approach can be done for the .sh script.
The text was updated successfully, but these errors were encountered:
I have a customised build.ps1 that allows certain script parameters to be overridden by environment variables, this is particularly useful for the
-Verbosity
parameter.I am by no means a "powershell guy" but thought that this sort of alteration would be beneficial to others.
Environment Variable Naming
CAKE_SCRIPT, CAKE_TARGET and CAKE_VERBOSITY are named to prevent potential conflicts with other environment variables, while CONFIGURATION is specifically named this way as AppVeyor (maybe other CI servers) will set this to the build configuration.
Of course I have only done this for the powershell bootstrapper as we are building on Windows, I assume a similar approach can be done for the .sh script.
The text was updated successfully, but these errors were encountered: