Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Perforce Sync and Capture Output (https://www.kinook.com/Forum/showthread.php?t=1352)

k_shehadeh 11-08-2005 03:35 PM

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

kinook 11-09-2005 07:14 AM

1 Attachment(s)
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).

k_shehadeh 11-09-2005 08:12 AM

That worked perfectly. Thank you!


All times are GMT -5. The time now is 08:34 PM.


Copyright © 1999-2023 Kinook Software, Inc.