I am curious how others might be doing this:
At the top of my projects I have an ActionSet that checks to see if the variables that should be set by parent project are set and if not it sets them.
If [ %Root% ] = [ ]
Set Variable Root to [ C:\Development ]
Looks like that, and I currently don’t set default values for my Project variables.
Thoughts?
I do it similarly, but with a ‘multi question’ action to get the values for the actions/steps to run. Then static variables are set (but I don’t bother checking the if they are null first).
In the cause of automated builds, I have a variable that is only used from the command line. If this variable is true, the gui is not displayed and the ‘what to run’ variables get their value from the command line also.
There are a few built in variables that you could also use:
ISAUTOBUILD that is set if the build is run automatically,
ISCONSOLEBUILD if the build is running from FBCMD,
ISINTERACTIVEBUILD if the build has been started by the user in the IDE
.t8
Ah… that’s very handy! Thanks for the tip
Al