Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ target bibPrepass : FilePath := do
return #["--build", buildDir.toString, "--none"]
exeJob.mapM fun exeFile => do
let args ← tryJson <|> tryBib <|> tryBibFailed
let bibOutputFile := buildDir / "doc" / "references.bib"
if !(← bibOutputFile.pathExists) then
IO.FS.removeFile outputFile |>.catchExceptions fun _ => pure ()
buildFileUnlessUpToDate' outputFile do
proc {
cmd := exeFile.toString
Expand Down