Add message about deleting cache

This commit is contained in:
Krzosa Karol
2024-04-16 11:41:12 +02:00
parent acf91b6594
commit 322f9f27a8

View File

@@ -78,7 +78,7 @@ int main(int argument_count, char **arguments) {
exe_name = OS_GetAbsolutePath(Perm, exe_name); exe_name = OS_GetAbsolutePath(Perm, exe_name);
int result = Run(exe_name + cmd); int result = Run(exe_name + cmd);
if (result != 0) { if (result != 0) {
IO_Printf("FAILED execution of the build file!\n"); IO_Printf("FAILED execution of the build file, deleting cache!\n");
OS_DeleteFile("build_tool.cache"); OS_DeleteFile("build_tool.cache");
return 1; return 1;
} }