PDA

View Full Version : Conditionally build based on sourcesafe get


strtdusty
08-27-2007, 03:18 PM
I want to only build a project if the sourcesafe get results in any new files being pulled down. Is this something that is readily possible or do I need to write a script to read the output of the get function?

kinook
08-28-2007, 06:39 AM
A conditional build rule on the following step like this should do it:

Build only if macro or expression
%LASTSTEP_OUTPUT%
contains "Getting " (don't type the quotes)