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

StackOverflow https://stackoverflow.com/questions/17897234

  •  04-06-2022
  •  | 
  •  

문제

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?

도움이 되었습니까?

해결책

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)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top