|
#1
|
|||
|
|||
Perforce Sync and Capture Output
I need a way to perform a perforce sync (which I know how to do) then based on the output of the command determine if any the build needs to continue. That is, if nothing was out of date then I can assume that no build has to be made yet and the script will exit.
Does anyone have any example code for doing this? Thanks, Karim |
#2
|
|||
|
|||
Attached is a project showing one way to do this. Also, the ContinuousIntegration.bld sample demonstrates another method (using a last build timestamp and the changes command).
|
#3
|
|||
|
|||
That worked perfectly. Thank you!
|
|
|