Skip to content

Commit

Permalink
Merge pull request vanessa-opensource#34 from artbear/develop
Browse files Browse the repository at this point in the history
Исправлена ошибка при запуске decompile.bat без параметров
  • Loading branch information
nixel2007 authored Dec 23, 2016
2 parents 6f65d3b + 3553c45 commit b39188a
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions examples/decompile.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
echo off
@echo off
SET mypath=%~dp0
SETLOCAL

Expand All @@ -16,44 +16,41 @@ rem set RUNNER_IBNAME=/F"D:\work\base\dev"
rem set RUNNER_DBUSER=base
rem set RUNNER_DBPWD=234567890



SET RUNNER_ENV=production



IF %1=="" (
set mode="all"
IF "%1"=="" (
set mode=all
) else (
set mode=%1
)

if "%mode%"=="all" ( call :all )
if "%mode%"=="epf" ( call :deocmpileepf )
if "%mode%"=="cf" ( call :deocmpilecf )
if "%mode%"=="cfe" ( call :deocmpilecfe )
if "%mode%"=="epf" ( call :decompileepf )
if "%mode%"=="cf" ( call :decompilecf )
if "%mode%"=="cfe" ( call :decompilecfe )

echo %mode%
exit /B

:deocmpilecf
echo "compilecf"
:decompilecf
echo "decompilecf"
oscript %mypath%/runner.os decompile %BUILDPATH%\1cv8.cf %CFPATH%
exit /B

:deocmpilecfe
:decompilecfe
rem oscript %mypath%/runner.os decompileext ДоработкиПанИнвест %CFEPATH%\ДоработкиПанИнвест %connstring% %USERPWD%


:deocmpileepf
:decompileepf
oscript %mypath%/runner.os decompileepf %BUILDPATH%\epf\ %EPFPATH% %connstring% %USERPWD%
exit /B

:all
echo "all"
call :deocmpilecf
call :deocmpilecfe
call :deocmpileepf
echo "run all"
call :decompilecf
call :decompilecfe
call :decompileepf
exit /B


0 comments on commit b39188a

Please sign in to comment.