diff --git a/copy-deps.bat b/copy-deps.bat new file mode 100644 index 00000000..d09c57bb --- /dev/null +++ b/copy-deps.bat @@ -0,0 +1 @@ +premake5 copy-deps \ No newline at end of file diff --git a/premake5.lua b/premake5.lua index 9f8bad94..2072ff9a 100644 --- a/premake5.lua +++ b/premake5.lua @@ -11,6 +11,13 @@ newaction { end } +newaction { + trigger = "copy-deps", + description = "Copies the necessary DLLs to the working directory", + execute = function () + os.copyfile("Nuake/dependencies/dxc/bin/x64/dxcompiler.dll", "Editor/dxcompiler.dll") + end +} -- ╔═══════════════════════════════════════╗ -- ║ WORKSPACE ║