From 420f4e5244860969560b0794b7cf80f4c74a5d9c Mon Sep 17 00:00:00 2001 From: Sara Date: Thu, 18 Sep 2025 12:11:37 +0200 Subject: [PATCH] fix: deleting bin/assets/ before copying --- premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index d592297..193f93a 100644 --- a/premake5.lua +++ b/premake5.lua @@ -12,7 +12,7 @@ project "Dice" links { "m", "stdc++", "SDL3", "SDL3_ttf", "SDL3_image" } buildoptions { "-Wall" } targetdir "bin/" - postbuildcommands { "{COPYDIR} %{wks.location}/assets/ %{cfg.targetdir}/assets/" } + postbuildcommands { "{RMDIR} %{cfg.targetdir}/assets", "{COPYDIR} %{wks.location}/assets/ %{cfg.targetdir}/assets/" } filter "configurations:debug" defines { "DEBUG" } symbols "On"