diff options
Diffstat (limited to 'public/tools/ntprojs.cmd')
-rw-r--r-- | public/tools/ntprojs.cmd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/public/tools/ntprojs.cmd b/public/tools/ntprojs.cmd new file mode 100644 index 000000000..b395c3704 --- /dev/null +++ b/public/tools/ntprojs.cmd @@ -0,0 +1,26 @@ +@if "%_echo%"=="" echo off +setlocal +if NOT "%1" == "" goto testproj +if "%NTPROJECTS%" == "" goto noprojs +call ntprojs %NTPROJECTS% %NTPROJECTS_EXTRA% +goto done +:noprojs +echo Must define NTPROJECTS environment variable to use this command without arguments +goto done +:testproj +if "%1" == "" goto done +Ech "Testing %1 project name -" +call projects.cmd %1 +shift +if "%proj_path%"=="" goto badproject +if NOT EXIST %proj_path%\slm.ini goto notenlisted +ech (enlisted) ; +goto testproj +:notenlisted +ech (not enlisted) ; +goto testproj +:badproject +ech (bad project name) ; +goto testproj +:done +endlocal |