-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlakefile.lean
More file actions
26 lines (20 loc) · 762 Bytes
/
lakefile.lean
File metadata and controls
26 lines (20 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import Lake
open Lake DSL
package "PolygonalNumbers" where
-- Settings applied to both builds and interactive editing
leanOptions := #[
⟨`pp.unicode.fun, true⟩ -- pretty-prints `fun a ↦ b`
]
-- add any additional package configuration options here
require "leanprover-community" / "mathlib"
@[default_target]
lean_lib «PolygonalNumbers» where
-- add any library configuration options here
-- https://github.com/PatrickMassot/checkdecls
require checkdecls from git "https://github.com/urkud/checkdecls" @ "YK-fix-superscript"
meta if get_config? env = some "dev" then
require «doc-gen4» from git
"https://github.com/leanprover/doc-gen4" @ "main"
-- Custom files
lean_lib PolygonalNumbers.Polygonal
lean_lib PolygonalNumbers.Lemmas