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:
parent
09189591c4
commit
6c38625942
7 changed files with 12 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue