Files
astronomy/generate/jplcheck.bat
Don Cross a55b8cab0f Updated Windows jplcheck.bat to match Linux jplcheck script.
Now the Windows batch file has the same final check of
the worst-case error found across all test cases.
2019-04-15 13:21:28 -04:00

18 lines
419 B
Batchfile

@echo off
setlocal EnableDelayedExpansion
if exist jpl_summary.txt (del jpl_summary.txt)
for %%f in (horizons\*.txt) do (
node jpl_horizons_check.js %%f > summary.txt
if errorlevel 1 (exit /b 1)
type summary.txt
type summary.txt >> jpl_summary.txt
del summary.txt
)
node jpl_horizons_check.js tally jpl_summary.txt
if errorlevel 1 (exit /b 1)
del jpl_summary.txt
echo.jplcheck: Finished
exit /b 0