(&self, runner: &Runner, verify: &crate::Verify)
| 130 | } |
| 131 | |
| 132 | fn verify(&self, runner: &Runner, verify: &crate::Verify) -> anyhow::Result<()> { |
| 133 | let mut cmd = Command::new("moon"); |
| 134 | cmd.arg("check") |
| 135 | .arg("--warn-list") |
| 136 | .arg("-28") // avoid warning noise in generated bindings |
| 137 | .current_dir(&verify.bindings_dir); |
| 138 | |
| 139 | runner.run_command(&mut cmd)?; |
| 140 | let mut cmd = Command::new("moon"); |
| 141 | cmd.arg("build").current_dir(&verify.bindings_dir); |
| 142 | |
| 143 | runner.run_command(&mut cmd)?; |
| 144 | Ok(()) |
| 145 | } |
| 146 | } |
nothing calls this directly
no test coverage detected