| ... | ... | @@ -188,6 +188,10 @@ fn stdIoActionToBehavior(action: StdIoAction) std.ChildProcess.StdIo { |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | fn needOutputCheck(self: RunStep) bool { |
| 191 | switch (self.condition) { |
| 192 | .always => return false, |
| 193 | .output_outdated => {}, |
| 194 | } |
| 191 | 195 | if (self.extra_file_dependencies.len > 0) return true; |
| 192 | 196 | |
| 193 | 197 | for (self.argv.items) |arg| switch (arg) { |
| ... | ... | @@ -195,10 +199,7 @@ fn needOutputCheck(self: RunStep) bool { |
| 195 | 199 | else => continue, |
| 196 | 200 | }; |
| 197 | 201 | |
| 198 | | return switch (self.condition) { |
| 199 | | .always => false, |
| 200 | | .output_outdated => true, |
| 201 | | }; |
| 202 | return false; |
| 202 | 203 | } |
| 203 | 204 | |
| 204 | 205 | fn make(step: *Step) !void { |