forked from quickfix/quickfix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunat_threaded.bat
More file actions
executable file
Β·26 lines (21 loc) Β· 861 Bytes
/
runat_threaded.bat
File metadata and controls
executable file
Β·26 lines (21 loc) Β· 861 Bytes
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
echo off
if "%1" == "" goto usage
if "%2" == "" goto usage
if "%1" == "debug" goto debug:
if "%1" == "release" goto release:
goto usage
:debug
set DIR=debug\at
goto start
:release
set DIR=release\at
goto start
:start
call setup.bat %2
%DIR%\atrun -t run -s "%DIR%\at.exe -f cfg\at.cfg -t" -d . -c "ruby Runner.rb 127.0.0.1 %2 definitions\server\fix40\*.def definitions\server\fix41\*.def definitions\server\fix42\*.def definitions\server\fix43\*.def definitions\server\fix44\*.def definitions\server\fix50\*.def" -i .\
%DIR%\atrun -t run -s "%DIR%\at.exe -f cfg\atsp1.cfg -t" -d . -c "ruby Runner.rb 127.0.0.1 %2 definitions\server\fix50sp1\*.def" -i .\
%DIR%\atrun -t run -s "%DIR%\at.exe -f cfg\atsp2.cfg -t" -d . -c "ruby Runner.rb 127.0.0.1 %2 definitions\server\fix50sp2\*.def" -i .\
goto quit
:usage
echo "Usage: runat [release | debug] [port]"
:quit