text stringlengths 0 834k |
|---|
call %~d0%~p0..\..\..\config.bat |
REM fsi.exe testing |
echo TestC |
if exist test.ok (del /f /q test.ok) |
""%FSI%"" %fsi_flags% -r module1.dll module2.fsx |
if NOT EXIST test.ok goto SetError |
REM fsc.exe testing |
echo TestD |
if exist test.ok (del /f /q test.ok) |
%CLIX% module2.exe |
@if ERRORLEVEL 1 goto Error |
if NOT EXIST test.ok goto SetError |
if exist test.ok (del /f /q test.ok) |
%CLIX% module2-opt.exe |
@if ERRORLEVEL 1 goto Error |
if NOT EXIST test.ok goto SetError |
:Ok |
echo Ran fsharp %~f0 ok. |
endlocal |
exit /b 0 |
:Skip |
echo Skipped %~f0 |
endlocal |
exit /b 0 |
:Error |
echo Test Script Failed (perhaps test did not emit test.ok signal file?) |
call %SCRIPT_ROOT%\ChompErr.bat 1 %~f0 |
endlocal |
exit /b %ERRORLEVEL% |
:SETERROR |
set NonexistentErrorLevel 2> nul |
goto Error |
",16.8703703704,72,0.6772777168 |
219558,d2fac6246b4fcec41c85eec8b298cd7582f7414e,212,cmd,Batchfile,node_modules/@expo/xdl/node_modules/pacote/node_modules/.bin/node-which.cmd,matheusosp/NLW,520d28f97ea4e2de35a98bda432713cea241c67b,['MIT'],,,,node_modules/@expo/xdl/node_modules/pacote/node_modules/.bin/node-which.cmd,matheusosp/NLW,520d28f97ea4e2de35a98bda432713cea241c67b,['MIT'],,,,node_modules/@expo/xdl/node_modules/pacote/node_modules/.bin/node-which.cmd,matheusosp/NLW,520d28f97ea4e2de35a98bda432713cea241c67b,['MIT'],,,,"@IF EXIST ""%~dp0\node.exe"" ( |
""%~dp0\node.exe"" ""%~dp0\..\..\..\..\..\..\which\bin\node-which"" %* |
) ELSE ( |
@SETLOCAL |
@SET PATHEXT=%PATHEXT:;.JS;=;% |
node ""%~dp0\..\..\..\..\..\..\which\bin\node-which"" %* |
)",30.2857142857,69,0.4811320755 |
219559,d2fad3bac7dbe25dc2ae56f1641ee07ae561119e,1636,bat,Batchfile,vm1/tst/build.bat,yshestakov/cpu11,5715b9633b77c68d0c56e24c6a2d88878bf46383,['CC-BY-3.0'],2.0,2021-04-06T15:28:40.000Z,2021-04-06T20:54:38.000Z,vm1/tst/build.bat,yshestakov/cpu11,5715b9633b77c68d0c56e24c6a2d88878bf46383,['CC-BY-3.0'],,,,vm1/tst/build.bat,yshestakov/cpu11,5715b9633b77c68d0c56e24c6a2d88878bf46383,['CC-BY-3.0'],,,,"@echo off |
rem |
rem Setup variables for temp directory and path to PDP-11 simulator |
rem |
rem set cpu11_tmp=R:\TEMP |
rem set cpu11_sim=D:\ECC\PDP11 |
if ""%~1""=="""" goto blank |
if ""%cpu11_tmp%""=="""" goto blank_tmp |
if ""%cpu11_sim%""=="""" goto blank_sim |
copy %1.mac %cpu11_tmp%\%1.mac >>NUL |
echo macro hd2:%1.mac /list:hd2:%1.lst /object:hd2:%1.obj >%cpu11_tmp%\build.com |
echo link hd2:%1.obj /execute:hd2:%1.lda /lda >>%cpu11_tmp%\build.com |
%cpu11_sim%\pdp11.exe @hd2:build.com |
srec_cat %cpu11_tmp%\%1.lda -dec_binary -o %cpu11_tmp%\%1.bin -binary |
move vt52.log %cpu11_tmp%\vt52.log >>NUL |
if not exist .\out mkdir out |
srec_cat %cpu11_tmp%\%1.bin -binary -fill 0x00 0x0000 0x4000 -byte-swap 2 -o .\out\test.mem --VMem 16 |
srec_cat %cpu11_tmp%\%1.bin -binary -fill 0x00 0x0000 0x4000 -byte-swap 2 -o .\out\test.hex -Intel |
srec_cat %cpu11_tmp%\%1.bin -binary -fill 0x00 0x0000 0x4000 -byte-swap 2 -o .\out\test.mif -Memory_Initialization_File 16 -obs=2 |
if not exist ..\..\xen\tst mkdir ..\..\xen\tst |
copy .\out\test.mif ..\..\xen\tst\vm1.mif >> NUL |
copy .\out\test.mem ..\..\xen\tst\vm1.mem >> NUL |
@echo on |
exit /b |
:blank |
echo. |
echo Batch file to compile and copy built images to project folders |
echo PDP-11 Simulator and original MACRO-11 on RT-11 is used to compile |
echo. |
echo Environment variables should be set: |
echo cpu11_tmp=%cpu11_tmp% |
echo cpu11_sim=%cpu11_sim% |
echo. |
echo Usage: built filename_without_extension |
echo Example: build t401 |
exit |
:blank_tmp |
echo. |
echo Environment variable cpu11_tmp should be set to temorary folder |
exit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.