forked from leanprover-community/batteries
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlakefile.toml
More file actions
34 lines (28 loc) · 858 Bytes
/
lakefile.toml
File metadata and controls
34 lines (28 loc) · 858 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
27
28
29
30
31
32
33
34
name = "batteries"
testDriver = "BatteriesTest"
lintDriver = "runLinter"
defaultTargets = ["Batteries", "runLinter"]
[leanOptions]
linter.missingDocs = true
# We prefix this with `weak.` so that running `lake new my_project math`
# with an older default toolchain doesn't fail when running the Mathlib post update hook.
# This option should be removed entirely once Batteries stops using `backward.privateInPublic`.
weak.backward.privateInPublic.warn = false
[[lean_lib]]
name = "Batteries"
[[lean_lib]]
name = "BatteriesTest"
globs = ["BatteriesTest.+"]
leanOptions = {linter.missingDocs = false}
[[lean_exe]]
name = "runLinter"
srcDir = "scripts"
supportInterpreter = true
[[lean_exe]]
name = "test"
srcDir = "scripts"
# `lake exe shake` checks files for unnecessary imports.
[[lean_exe]]
name = "shake"
root = "Shake.Main"
supportInterpreter = true