sorin
sorin

Reputation: 170778

How to prevent execution of a waf task if nothing changes from the last successful execution?

I have a waf task that is running a msbuild in order to build a project but I do want to run this only if last execution was not successful.

How should I do this?

Upvotes: 0

Views: 111

Answers (1)

drahnr
drahnr

Reputation: 6886

Store in your build.env.MS_SUCC = 1 and retrieve the value from the previous build (for the first time you naturally have to check if the dict item MS_SUCC exists)

Upvotes: 1

Related Questions