Make -Zemit-artifact-notifications also emit the artifact type

This is easier for tooling to handle than trying to reverse-engineer it from the filename extension.
This commit is contained in:
Jeremy Fitzhardinge 2019-05-21 12:38:46 -07:00
parent 09189591c4
commit 6c38625942
7 changed files with 12 additions and 9 deletions

View file

@ -769,8 +769,8 @@ impl Handler {
}
}
pub fn emit_artifact_notification(&self, path: &Path) {
self.emitter.borrow_mut().emit_artifact_notification(path);
pub fn emit_artifact_notification(&self, path: &Path, artifact_type: &str) {
self.emitter.borrow_mut().emit_artifact_notification(path, artifact_type);
}
}