#1
|
|||
|
|||
Updating Build File During Build
Is there a good way to make a build file self updating from source control?
I want to have some steps in a build that retrieve the newest BLD file from source control, and if it has changed, restart the new version of the build. I don't know how to do this because I don't know if the build file got changed. I also don't know if the build was launched with the GUI or the command line version. I want to reopen the file the same way. I'd like to hear any advice you may have. Thanks, Jason |
#2
|
|||
|
|||
We handle this in our builds by having a top-level build file which gets all the other build files from source control and then has a VisualBuild step which starts the normal build using the updated build file. We have the top-level build file run each night from by the windows scheduler. When using the GUI interface, we just open the normal build file.
|
#3
|
|||
|
|||
Not Too Bad
That sounds alright. It means I'll have 2 build files, but it's not that bad.
I'd still like to hear how other people have done this. Thanks, Jason |
|
|