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 let manifest ← Lake.Manifest.loadOrEmpty ws.root.manifestFile
|>.run (Lake.MonadLog.eio .normal) |>.run (Lake.MonadLog.eio .normal)
|>.toIO (λ _ => IO.userError "Failed to load lake manifest") |>.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 if let .git _ url rev .. := pkg then
gitMap := gitMap.insert pkg.name (getGithubBaseUrl url, rev) gitMap := gitMap.insert pkg.name (getGithubBaseUrl url, rev)

View File

@ -1,6 +1,19 @@
{"version": 3, {"version": 4,
"packagesDir": "./lake-packages",
"packages": "packages":
[{"git": [{"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", {"url": "https://github.com/mhuisi/lean4-cli",
"subDir?": null, "subDir?": null,
"rev": "5a858c32963b6b19be0d477a30a1f4b6c120be7e", "rev": "5a858c32963b6b19be0d477a30a1f4b6c120be7e",
@ -17,16 +30,4 @@
"subDir?": null, "subDir?": null,
"rev": "6dd6ae3a3839c8350a91876b090eda85cf538d1d", "rev": "6dd6ae3a3839c8350a91876b090eda85cf538d1d",
"name": "Unicode", "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"}}]} "inputRev?": "main"}}]}

View File

@ -77,7 +77,8 @@ library_facet docs (lib) : FilePath := do
else else
error "wrong package" 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 -- Shared with DocGen4.Output
let basePath := (←getWorkspace).root.buildDir / "doc" let basePath := (←getWorkspace).root.buildDir / "doc"
let dataFile := basePath / "declarations" / "declaration-data.bmp" let dataFile := basePath / "declarations" / "declaration-data.bmp"

View File

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