forked from vanessa-opensource/vanessa-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompile.bat
50 lines (38 loc) · 886 Bytes
/
compile.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
echo off
SET mypath=%~dp0
SETLOCAL
set BUILDPATH=.\build
set CFPATH=.\cf
set CFEPATH=.\cfe
set EPFPATH=.\epf
set RUNNER_IBNAME=/F"./build/ib"
rem set RUNNER_DBUSER=base
rem set RUNNER_DBPWD=234567890
SET RUNNER_ENV=production
IF %1=="" (
set mode="all"
) else (
set mode=%1
)
if "%mode%"=="all" ( call :all )
if "%mode%"=="epf" ( call :compileepf )
if "%mode%"=="cf" ( call :compilecf )
if "%mode%"=="cfe" ( call :compilecfe )
echo %mode%
exit /B
:compilecf
echo "compilecf"
oscript %mypath%/runner.os compile %CFPATH% %BUILDPATH%\1cv8.cf
exit /B
:compilecfe
rem oscript %mypath%/runner.os compileext %CFEPATH%\ДоработкиПанИнвест ДоработкиПанИнвест2 %connstring% %USERPWD%
rem
:compileepf
oscript %mypath%/runner.os compileepf %EPFPATH%\ %BUILDPATH%\epf\
exit /B
:all
echo "all"
call :compilecf
call :compilecfe
call :compileepf
exit /B