text
stringlengths 0
834k
|
|---|
echo.
|
echo.Validating TOP2013 code.
|
!GENEXE! validate_top2013
|
if errorlevel 1 (exit /b 1)
|
if !FASTMODE! == true (
|
REM *** Override fast mode if any of the required files are missing.
|
for %%f in (
|
output\vsop_0.txt
|
output\vsop_1.txt
|
output\vsop_3.txt
|
output\vsop_4.txt
|
output\vsop_5.txt
|
output\vsop_6.txt
|
output\vsop_7.txt
|
output\vsop_11.txt
|
) do (
|
if not exist %%f (
|
echo.Missing required planet model file: %%f
|
set FASTMODE=false
|
)
|
)
|
)
|
if !FASTMODE! == false (
|
if exist output\vsop_*.txt (del /q output\vsop_*.txt)
|
echo.
|
echo.Generating planet models.
|
!GENEXE! planets
|
if errorlevel 1 (
|
echo.FATAL: !GENEXE! planets
|
exit /b 1
|
)
|
)
|
if not exist output\jupiter_moons.txt (
|
echo.
|
echo.Optimizing Jupiter Moon models.
|
!GENEXE! jmopt
|
if errorlevel 1 (
|
echo.FATAL: !GENEXE! jmopt
|
exit /b 1
|
)
|
)
|
echo.
|
echo.Generating apsis test data.
|
if exist apsides\apsis_*.txt (del apsides\apsis_*.txt)
|
!GENEXE! apsis
|
if errorlevel 1 (
|
echo.FATAL: !GENEXE! apsis
|
exit /b 1
|
)
|
echo.
|
echo.Generating eclipse data.
|
cd eclipse
|
for %%f in (
|
lunar_eclipse.txt
|
solar_eclipse.txt
|
mercury.txt
|
venus.txt
|
) do (
|
if exist %%f (del %%f)
|
)
|
norm.py
|
if errorlevel 1 (
|
echo.Error normalizing eclipse test data.
|
exit /b 1
|
)
|
cd ..
|
echo.
|
echo.Generating EQJ/GAL conversion test data.
|
!GENEXE! galeqj temp\galeqj.txt
|
if errorlevel 1 (
|
echo.Error generating EQJ/GAL conversion test data.
|
exit /b 1
|
)
|
echo.
|
call makedoc.bat
|
if errorlevel 1 (exit /b 1)
|
REM -----------------------------------------------------------------------------------------
|
REM makedoc.bat has generated source code as a side effect.
|
REM Call build.bat AGAIN to build ctest.c (C unit tests).
|
echo.Re-building to get C unit test.
|
if exist ""!CTESTEXE!"" (del ""!CTESTEXE!"")
|
call build.bat
|
if errorlevel 1 (exit /b 1)
|
if not exist ""!CTESTEXE!"" (
|
echo.FATAL[run.bat]: The executable does not exist: !CTESTEXE!
|
exit /b 1
|
)
|
REM -----------------------------------------------------------------------------------------
|
echo.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.