Skip to content

Commit

Permalink
directory rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Seasawher committed Dec 7, 2024
1 parent 0e7220c commit 82ed498
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion assets/filePlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function filePlay() {
playButtonLink.href = playButtonLink.href.replace(/\.md$/, ".lean");
playButtonLink.href = playButtonLink.href.replace(
"/booksrc/",
"/Src/",
"/LeanBook/",
);
fetch(playButtonLink.href)
.then((response) => response.text())
Expand Down
6 changes: 3 additions & 3 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package «Lean Book» where
]

@[default_target]
lean_lib «Src» where
globs := #[.submodules `Src] -- Build all files in the `Src` directory.
lean_lib «LeanBook» where
globs := #[.submodules `LeanBook] -- Build all files in the `LeanBook` directory.

require mdgen from git
"https://github.com/Seasawher/mdgen" @ "main"
Expand All @@ -26,6 +26,6 @@ def runCmd (cmd : String) (args : Array String) : ScriptM Bool := do
return hasError

script build do
if ← runCmd "lake" #["exe", "mdgen", "Src", "booksrc"] then return 1
if ← runCmd "lake" #["exe", "mdgen", "LeanBook", "booksrc"] then return 1
if ← runCmd "mdbook" #["build"] then return 1
return 0

0 comments on commit 82ed498

Please sign in to comment.