diff --git a/toolchain/finish-setup.xml b/toolchain/finish-setup.xml index 0b6aefc9e..eef2be1ec 100644 --- a/toolchain/finish-setup.xml +++ b/toolchain/finish-setup.xml @@ -10,6 +10,7 @@ + diff --git a/tools/hxcpp/BuildTool.hx b/tools/hxcpp/BuildTool.hx index 22f85d898..8e20a1469 100644 --- a/tools/hxcpp/BuildTool.hx +++ b/tools/hxcpp/BuildTool.hx @@ -2418,6 +2418,8 @@ class BuildTool path = path.split("\\").join("/"); var filename = ""; var parts = path.split("/"); + if (!FileSystem.exists(path)) + Log.error("File does not exist:" + path); if (!FileSystem.isDirectory(path)) filename = parts.pop();