feat(build): added RMDIR call to postbuildcommands to ensure assets are cleared before being copied

This commit is contained in:
Sara 2023-11-24 16:23:49 +01:00
parent 01d9a9417d
commit 05334eb8ee

View file

@ -17,7 +17,8 @@ project "Game"
} }
postbuildcommands { postbuildcommands {
"{COPYDIR} assets/ %{cfg.targetdir}/assets" "{RMDIR} %{cfg.targetdir}/assets/",
"{COPYDIR} assets/ %{cfg.targetdir}/assets/"
} }
targetdir ("../bin/" .. OutputDir .. "/%{prj.name}" ) targetdir ("../bin/" .. OutputDir .. "/%{prj.name}" )