Skip to content

Commit 1b353be

Browse files
committed
Create update_mathlib.sh
1 parent 7922941 commit 1b353be

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/update_mathlib.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Update Mathlib and the Lean toolchain.
2+
3+
# Download the latest lean-toolchain file from the Mathlib4 repository
4+
curl -L https://raw.githubusercontent.com/leanprover-community/mathlib4/master/lean-toolchain -o lean-toolchain
5+
6+
# Update the Mathlib dependencies and ensure doc-gen is also updated
7+
# The `-R -Kenv=dev` flag ensures that the development environment is updated, including doc-gen
8+
lake -R -Kenv=dev update

0 commit comments

Comments
 (0)