a789495a98
FreeBSD Smoke / FreeBSD Smoke (x86_64) (push) Has been cancelled
CI / Quality Guardrails (push) Has been cancelled
CI / Build & Test (macos-latest) (push) Has been cancelled
CI / Build & Test (ubuntu-latest) (push) Has been cancelled
CI / Build & Test (windows-latest) (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / PowerShell Syntax (push) Has been cancelled
CI / Windows Cross-Target Check (Linux) (push) Has been cancelled
16 lines
541 B
Rust
16 lines
541 B
Rust
fn main() -> anyhow::Result<()> {
|
|
let t = std::time::Instant::now();
|
|
let out = jcode_productivity_core::generate()?;
|
|
eprintln!("--- generate() took {:.2}s ---", t.elapsed().as_secs_f64());
|
|
eprintln!("PNG: {} ({} bytes)", out.png_path.display(), out.png.len());
|
|
eprintln!(
|
|
"scanned={} parse_errors={} cache_hits={} scan_secs={:.2}",
|
|
out.report.scanned_files,
|
|
out.report.parse_errors,
|
|
out.report.cache_hits,
|
|
out.report.scan_secs
|
|
);
|
|
println!("{}", out.markdown);
|
|
Ok(())
|
|
}
|