Skip to content

Commit 9949d08

Browse files
committed
add markdown file in downloads
1 parent c78d355 commit 9949d08

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/report/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ mod analyzer;
2323
mod archives;
2424
mod display;
2525
mod html;
26+
mod markdown;
2627
mod s3;
2728

2829
pub use self::display::{Color, ResultColor, ResultName};
@@ -309,6 +310,8 @@ pub fn gen<DB: ReadResults, W: ReportWriter + Display>(
309310
dest,
310311
output_templates,
311312
)?;
313+
info!("writing markdown files");
314+
markdown::write_markdown_report(ex, crates.len(), &res, dest, output_templates)?;
312315
info!("writing logs");
313316
write_logs(db, ex, crates, dest, config)?;
314317

templates/report/downloads.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
<a href="retry-regressed-list.txt">Regressed crates as list</a>
4444
<span><a href="retry-regressed-list.txt">Download</a></span>
4545
</div>
46+
<div class="crate">
47+
<a href="markdown.md">Markdown report</a>
48+
<span><a href="markdown.md">Download</a></span>
49+
</div>
4650
</div>
4751
</div>
4852
{% endblock %}

0 commit comments

Comments
 (0)