-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathlakefile.lean
More file actions
37 lines (30 loc) · 1.08 KB
/
lakefile.lean
File metadata and controls
37 lines (30 loc) · 1.08 KB
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
27
28
29
30
31
32
33
34
35
36
37
import Lake
open Lake DSL
def moreServerArgs := #[
"-Dpp.unicode.fun=true", -- pretty-prints `fun a ↦ b`
"-Dpp.proofs.withType=false",
"-Dweak.linter.style.multiGoal=false" -- don't complain about missing ·
]
-- These settings only apply during `lake build`, but not in VSCode editor.
def moreLeanArgs := moreServerArgs
-- These are additional settings which do not affect the lake hash,
-- so they can be enabled in CI and disabled locally or vice versa.
-- Warning: Do not put any options here that actually change the olean files,
-- or inconsistent behavior may result
def weakLeanArgs : Array String :=
if get_config? CI |>.isSome then
#["-DwarningAsError=true"]
else
#[]
package «Simons2025» where
moreServerArgs := moreServerArgs
-- add any package configuration options here
require mathlib from git
"https://github.com/leanprover-community/mathlib4.git"
lean_lib Config
@[default_target]
lean_lib «Simons2025» where
globs := #[.submodules `Simons2025]
moreLeanArgs := moreLeanArgs
weakLeanArgs := weakLeanArgs
-- add any library configuration options here