Automating check out /check in of each step?
The company I work for uses Visual Sourcesafe, and Visual Build Pro. I need to check out the current step, build it, then check it back in (so the version number in the project file is altered correctly, for instance in a .VBP for visual basic). I also need to make it so that if the file cannot be checked out (because someone else has the file checked out) that it does not continue with the build / check in.
How can I script something along these lines or automate it somehow ...
if not isCheckedOut(currStep.project) then
checkOut(currStep.project)
build(currStep)
checkIn(currStep.project)
Thanks for any advice in advance.
|