chore: update toolchain

main
Henrik Böving 2022-12-03 17:43:12 +01:00
parent 5e96952a58
commit 7009910876
4 changed files with 18 additions and 16 deletions

View File

@ -64,7 +64,7 @@ def sourceLinker (ws : Lake.Workspace) : IO (Name → Option DeclarationRange
let manifest ← Lake.Manifest.loadOrEmpty ws.root.manifestFile
|>.run (Lake.MonadLog.eio .normal)
|>.toIO (λ _ => IO.userError "Failed to load lake manifest")
for pkg in manifest.toArray do
for pkg in manifest.entryArray do
if let .git _ url rev .. := pkg then
gitMap := gitMap.insert pkg.name (getGithubBaseUrl url, rev)

View File

@ -1,6 +1,19 @@
{"version": 3,
{"version": 4,
"packagesDir": "./lake-packages",
"packages":
[{"git":
{"url": "https://github.com/xubaiw/CMark.lean",
"subDir?": null,
"rev": "2cc7cdeef67184f84db6731450e4c2b258c28fe8",
"name": "CMark",
"inputRev?": "main"}},
{"git":
{"url": "https://github.com/leanprover/lake",
"subDir?": null,
"rev": "235383015cdcb0082777b0347b84dba01843c79c",
"name": "lake",
"inputRev?": "master"}},
{"git":
{"url": "https://github.com/mhuisi/lean4-cli",
"subDir?": null,
"rev": "5a858c32963b6b19be0d477a30a1f4b6c120be7e",
@ -17,16 +30,4 @@
"subDir?": null,
"rev": "6dd6ae3a3839c8350a91876b090eda85cf538d1d",
"name": "Unicode",
"inputRev?": "main"}},
{"git":
{"url": "https://github.com/leanprover/lake",
"subDir?": null,
"rev": "051cf403f12da80a44802810d9098f2bbed61d93",
"name": "lake",
"inputRev?": "master"}},
{"git":
{"url": "https://github.com/xubaiw/CMark.lean",
"subDir?": null,
"rev": "2cc7cdeef67184f84db6731450e4c2b258c28fe8",
"name": "CMark",
"inputRev?": "main"}}]}

View File

@ -77,7 +77,8 @@ library_facet docs (lib) : FilePath := do
else
error "wrong package"
let moduleJobs ← BuildJob.mixArray (α := FilePath) <| ← lib.recBuildLocalModules #[`docs]
let mods ← lib.modules.fetch
let moduleJobs ← BuildJob.mixArray <| ← mods.mapM (fetch <| ·.facet `docs)
-- Shared with DocGen4.Output
let basePath := (←getWorkspace).root.buildDir / "doc"
let dataFile := basePath / "declarations" / "declaration-data.bmp"

View File

@ -1 +1 @@
leanprover/lean4:nightly-2022-11-30
leanprover/lean4:nightly-2022-12-03