Skip to content

Commit

Permalink
Substitute outdated lakefile.lean with lakefile.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone committed Aug 5, 2024
1 parent 2ee0558 commit 6bf7664
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The template repository is organized as follows (listing the main folders and fi
and environment.
- [`CONTRIBUTING.md`](CONTRIBUTING.md) should provide the guidelines for contributing to the
project.
- [`lakefile.lean`](lakefile.lean) is the configuration file for the Lake build system used in
- [`lakefile.toml`](lakefile.toml) is the configuration file for the Lake build system used in
Lean projects.
- [`lean-toolchain`](lean-toolchain) specifies the Lean version and toolchain used for the project.

Expand All @@ -65,7 +65,7 @@ project name.
- [`Project/Example.lean`](Project/Example.lean): Remove it and replace it with your actual
project code.
- [`CONTRIBUTING.md`](CONTRIBUTING.md): Customise the guidelines for contributing to the project.
- [`lakefile.lean`](lakefile.lean): Find and replace `Project` with your actual project name.
- [`lakefile.toml`](lakefile.toml): Find and replace `Project` with your actual project name.
- [`Project.lean`](Project.lean): Rename the main file and the imports
to match your actual project name.

Expand Down
21 changes: 0 additions & 21 deletions lakefile.lean

This file was deleted.

14 changes: 14 additions & 0 deletions lakefile.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name = "Project"
defaultTargets = ["Project"]

[leanOptions]
pp.unicode.fun = true
autoImplicit = false
relaxedAutoImplicit = false

[[require]]
name = "mathlib"
git = "https://github.com/leanprover-community/mathlib4.git"

[[lean_lib]]
name = "Project"

0 comments on commit 6bf7664

Please sign in to comment.