Load doc-gen4 as a git dependency.

main
Joshua Potter 2023-12-15 14:45:22 -07:00
parent 48bd97ef3f
commit fbe1e685d3
4 changed files with 8 additions and 8 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "doc-gen4"]
path = doc-gen4
url = git@github.com:jrpotter/bookshelf-doc.git

@ -1 +0,0 @@
Subproject commit d2db077fc447a918d90a4515d8fb77d41dd79e42

View File

@ -82,11 +82,14 @@
"inputRev": "doc-gen", "inputRev": "doc-gen",
"inherited": true, "inherited": true,
"configFile": "lakefile.lean"}, "configFile": "lakefile.lean"},
{"type": "path", {"url": "https://github.com/jrpotter/bookshelf-doc",
"type": "git",
"subDir": null,
"rev": "c29c914910af31f82e73cc0ab77d918a6439fb80",
"name": "«doc-gen4»", "name": "«doc-gen4»",
"manifestFile": "lake-manifest.json", "manifestFile": "lake-manifest.json",
"inputRev": "main",
"inherited": false, "inherited": false,
"dir": "././doc-gen4",
"configFile": "lakefile.lean"}], "configFile": "lakefile.lean"}],
"name": "bookshelf", "name": "bookshelf",
"lakeDir": ".lake"} "lakeDir": ".lake"}

View File

@ -10,8 +10,9 @@ require mathlib from git
require std from git require std from git
"https://github.com/leanprover/std4.git" @ "https://github.com/leanprover/std4.git" @
"v4.3.0" "v4.3.0"
meta if get_config? env = some "dev" then require «doc-gen4» from git
require «doc-gen4» from "./doc-gen4" "https://github.com/jrpotter/bookshelf-doc" @
"main"
@[default_target] @[default_target]
lean_lib «Bookshelf» { lean_lib «Bookshelf» {