Skip to content

Commit

Permalink
Create update_mathlib.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone committed Oct 25, 2024
1 parent 7922941 commit 1b353be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/update_mathlib.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Update Mathlib and the Lean toolchain.

# Download the latest lean-toolchain file from the Mathlib4 repository
curl -L https://raw.githubusercontent.com/leanprover-community/mathlib4/master/lean-toolchain -o lean-toolchain

# Update the Mathlib dependencies and ensure doc-gen is also updated
# The `-R -Kenv=dev` flag ensures that the development environment is updated, including doc-gen
lake -R -Kenv=dev update

0 comments on commit 1b353be

Please sign in to comment.