Regular expression in conditional build rule?
You can put conditional rules on build steps by selecting 'Build only if macro or expression...' and then there's options like 'is true', 'contains (x)', 'is not equal to (y)' etc.
It would be really great if you could add 'matches regexp (x)' and 'does not match regexp (y)' there! Or is there some other way to pull this off? |
1 Attachment(s)
Create a project or global script function something like this:
Code:
Function MatchesRegEx(s, regex) 12/14/2011 10:07:24 AM: Building project step 1 - Test num... 12/14/2011 10:07:24 AM: Building project step 2 - Test str... 12/14/2011 10:07:24 AM: Step skipped |
Awesome, thanks!
|
All times are GMT -5. The time now is 07:29 PM. |
Copyright © 1999-2023 Kinook Software, Inc.