-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathlakefile.lean
More file actions
29 lines (22 loc) · 1.19 KB
/
lakefile.lean
File metadata and controls
29 lines (22 loc) · 1.19 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
import Lake
open Lake DSL
-- This is an «examples» repo - the real «paperproof» library is in /lean subfolder.
-- We're only naming it "paperproof" here to accommodate to lean reservoir, see https://github.com/Paper-Proof/paperproof/pull/42.
-- Note that we're naming it lowercase paperproof to avoid circular dependency error.
-- In general, this should still be called «example», let's see how to deal with it when https://reservoir.lean-lang.org is more mature.
package «paperproof» {
-- add package configuration options here
}
lean_lib «paperproof» {}
-- ___Why do we need it here?
-- Lets us build `Examples.lean` from the terminal in such a way that vscode sees the cache too (use `lake build Examples`).
lean_lib «Examples» {}
-- If you're developing locally, this imports paperproof from a local "./lean" folder
require Paperproof from "lean"
-- require Paperproof from git "https://github.com/Paper-Proof/paperproof.git"@"main"/"lean"
require mathlib from git "https://github.com/leanprover-community/mathlib4" @ "v4.29.0-rc8"
-- Uncomment this is you want to use paperproof statically
-- @[default_target]
-- lean_exe terminal where
-- srcDir := "lean"
-- supportInterpreter := true