|
|
@ -688,6 +688,7 @@ open IO.FS System FilePath in
|
|
|
|
/-- Copies the folder `images/` to `.lake/gamedata/images/` -/
|
|
|
|
/-- Copies the folder `images/` to `.lake/gamedata/images/` -/
|
|
|
|
def copyImages : IO Unit := do
|
|
|
|
def copyImages : IO Unit := do
|
|
|
|
let target : FilePath := ".lake" / "gamedata"
|
|
|
|
let target : FilePath := ".lake" / "gamedata"
|
|
|
|
|
|
|
|
if ← FilePath.pathExists "images" then
|
|
|
|
for file in ← walkDir "images" do
|
|
|
|
for file in ← walkDir "images" do
|
|
|
|
let outFile := target.join file
|
|
|
|
let outFile := target.join file
|
|
|
|
-- create the directories
|
|
|
|
-- create the directories
|
|
|
|