Skip to content

Commit

Permalink
Update scripts (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone authored Oct 9, 2024
1 parent 6b486ac commit 92592f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Empty file modified scripts/mk_all.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion scripts/update_mathlib.bat
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rem Update mathlib and the lean toolchain.
curl -L https://raw.githubusercontent.com/leanprover-community/mathlib4/master/lean-toolchain -o lean-toolchain
lake -Kenv=dev update rem The `-Kenv=dev` is making sure we also update doc-gen
lake -R -Kenv=dev update rem The `-Kenv=dev` is making sure we also update doc-gen
lake exe cache get
4 changes: 3 additions & 1 deletion scripts/update_mathlib.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash

# Update mathlib and the lean toolchain.
curl -L https://raw.githubusercontent.com/leanprover-community/mathlib4/master/lean-toolchain -o lean-toolchain
lake -Kenv=dev update # The `-Kenv=dev` is making sure we also update doc-gen
lake -R -Kenv=dev update # The `-R -Kenv=dev` is making sure we also update doc-gen and other dependencies
lake exe cache get

0 comments on commit 92592f5

Please sign in to comment.