DEADSOFTWARE

DFWAD: Return correct error code
authorStas'M <x86corez@gmail.com>
Tue, 2 Oct 2018 12:29:17 +0000 (15:29 +0300)
committerStas'M <x86corez@gmail.com>
Tue, 2 Oct 2018 12:37:01 +0000 (15:37 +0300)
dfwad.exe
make.cmd

index 3477049f53e479d38a31f64785eaa38415fa2b92..77eb007a4a5f18e75813efd7ac6ee6329dde3185 100755 (executable)
Binary files a/dfwad.exe and b/dfwad.exe differ
index b97b12c0bd6e57eef4eaff025ef8745f2c41e222..175169c4d4170fcc31f7bd131428658b2aded84e 100755 (executable)
--- a/make.cmd
+++ b/make.cmd
@@ -1,10 +1,10 @@
 @echo off
 cd /d %~dp0
-call pack_dnd Game.lst
-call pack_dnd Editor.lst
-call pack_dnd Standart.lst
-call pack_dnd ShrShade.lst
-call pack_dnd Doomer.lst
-call pack_dnd Doom2D.lst
+for %%i in (*.lst) do (
+  call pack_dnd %%i
+  IF ERRORLEVEL 1 (
+    exit /b
+  )
+)
 echo [*] Build All done.
 echo.