Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个运行 msbuild 以构建项目的 waf 任务,但我确实只想在上次执行不成功时运行它。
我该怎么做?
存储在你的build.env.MS_SUCC = 1并从以前的构建中检索值(第一次你自然必须检查 dict 项是否MS_SUCC存在)
build.env.MS_SUCC = 1
MS_SUCC