Skip to content

Commit

Permalink
fix: runCmd invalid arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Seasawher committed Mar 23, 2024
1 parent b6c86cb commit 2ba6f4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def runCmd (cmd : String) (args : Array String) : ScriptM Bool := do
return hasError

script build do
if ← runCmd "lake exe mk_exercise" #["Src", "build"] then return 1
if ← runCmd "lake exe mdgen" #["build", "md/build"] then return 1
if ← runCmd "lake exe import_all" #["Src"] then return 1
if ← runCmd "mdbook build" #[] then return 1
if ← runCmd "lake" #["exe", "mk_exercise", "Src", "build"] then return 1
if ← runCmd "lake" #["exe", "mdgen", "build", "md/build"] then return 1
if ← runCmd "lake" #["exe", "import_all", "Src"] then return 1
if ← runCmd "mdbook" #["build"] then return 1
return 0

0 comments on commit 2ba6f4f

Please sign in to comment.