chore: update toolchain

main
Henrik 2023-08-06 16:07:24 +02:00
parent 718b182a31
commit 596782c1fe
5 changed files with 9 additions and 17 deletions

View File

@ -21,10 +21,6 @@ jobs:
~/.elan/bin/lean --version ~/.elan/bin/lean --version
echo "$HOME/.elan/bin" >> $GITHUB_PATH echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Compile doc-gen4
run: |
lake build
- name: Checkout and compile std4 - name: Checkout and compile std4
run: | run: |
cd ../ cd ../

View File

@ -7,6 +7,12 @@
"rev": "0077cbbaa92abf855fc1c0413e158ffd8195ec77", "rev": "0077cbbaa92abf855fc1c0413e158ffd8195ec77",
"name": "CMark", "name": "CMark",
"inputRev?": "main"}}, "inputRev?": "main"}},
{"git":
{"url": "https://github.com/fgdorais/lean4-unicode-basic",
"subDir?": null,
"rev": "f09250282cea3ed8c010f430264d9e8e50d7bc32",
"name": "lean4-unicode-basic",
"inputRev?": "main"}},
{"git": {"git":
{"url": "https://github.com/mhuisi/lean4-cli", {"url": "https://github.com/mhuisi/lean4-cli",
"subDir?": null, "subDir?": null,
@ -18,10 +24,4 @@
"subDir?": null, "subDir?": null,
"rev": "2447df5cc6e48eb965c3c3fba87e46d353b5e9f1", "rev": "2447df5cc6e48eb965c3c3fba87e46d353b5e9f1",
"name": "leanInk", "name": "leanInk",
"inputRev?": "doc-gen"}}, "inputRev?": "doc-gen"}}]}
{"git":
{"url": "https://github.com/fgdorais/lean4-unicode-basic",
"subDir?": null,
"rev": "f09250282cea3ed8c010f430264d9e8e50d7bc32",
"name": "UnicodeBasic",
"inputRev?": "main"}}]}

View File

@ -14,7 +14,7 @@ lean_exe «doc-gen4» {
require CMark from git require CMark from git
"https://github.com/xubaiw/CMark.lean" @ "main" "https://github.com/xubaiw/CMark.lean" @ "main"
require UnicodeBasic from git require «lean4-unicode-basic» from git
"https://github.com/fgdorais/lean4-unicode-basic" @ "main" "https://github.com/fgdorais/lean4-unicode-basic" @ "main"
require Cli from git require Cli from git

View File

@ -1 +1 @@
leanprover/lean4:nightly-2023-07-30 leanprover/lean4:nightly-2023-08-03

View File

@ -5,10 +5,6 @@
set -e set -e
set -x set -x
# carry the already built doc-gen4 over
mkdir -p "$1"/lake-packages
rsync -av --exclude=".*" "$2"/lake-packages/* "$1"/lake-packages
# generate the docs # generate the docs
cd "$1" cd "$1"
sed -i "s|from git \"https://github.com/leanprover/doc-gen4\" @ \"main\"| from \"..\" / \"doc-gen4\" with NameMap.empty|" lakefile.lean sed -i "s|from git \"https://github.com/leanprover/doc-gen4\" @ \"main\"| from \"..\" / \"doc-gen4\" with NameMap.empty|" lakefile.lean