-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathrunnpss-psl.bat
28 lines (24 loc) · 1.31 KB
/
runnpss-psl.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
:: -----------------------------------------------------------------------------
:: | |
:: | File Name: runnpss-psl.bat |
:: | Author(s): Jonathan Fuzaro Alencar |
:: | Date(s): February 2020 |
:: | |
:: | Description: Batch script to run NPSS PSL files. |
:: | |
:: -----------------------------------------------------------------------------
:: If no argument, run all the models.
if "%~1" == "" goto RunAll
:: Else, echo back which model you are running, and run it.
echo.
echo =========== %~n1 ===========
echo.
call runnpss -I src -I include -I model -I view -I utils %1
goto Done
:: You got down here, so run all models in the model folder.
:RunAll
set /p=You are running runnpss-psl.bat without an argument. This will run all models. Hit ENTER to run first model
for %%i in (run\*) do (call runnpss -I src -I include -I model -I view -I utils %%i & set /p=Finished %%i, Hit ENTER to continue )
echo Finished running all models
:Done