Added etc local profile files.
This commit is contained in:
42
windows_deliv/inc/display_environment.btm
Normal file
42
windows_deliv/inc/display_environment.btm
Normal file
@@ -0,0 +1,42 @@
|
||||
echo Current configuration:
|
||||
echo ----------------------
|
||||
echo INIT_DIR=%INIT_DIR (script root directory)
|
||||
echo ISE_EIFFEL=%ISE_EIFFEL
|
||||
echo ISE_PLATFORM=%ISE_PLATFORM
|
||||
echo DELIV_DIR=%DELIV_DIR
|
||||
echo INSTALL_DIR=%INSTALL_DIR
|
||||
echo STUDIO_DIR=%STUDIO_DIR
|
||||
echo Log file location: %INSTALL_LOG
|
||||
echo The private ISE svn repository: %DEFAULT_ISE_SVN
|
||||
echo The public svn repository: %DEFAULT_PUBLIC_SVN
|
||||
echo The revision that will be generated: %PUBLIC_SVN_REVISION
|
||||
echo ecb version:
|
||||
ecb -version
|
||||
echo The C environment: ISE_C_COMPILER=%ISE_C_COMPILER% (ISE_C_COMPILER_VER=%ISE_C_COMPILER_VER%)
|
||||
echo MYSQL lib location: %MYSQL%
|
||||
echo -----------------------------
|
||||
iff exist %INSTALL_DIR .or. isdir %INSTALL_DIR then
|
||||
echo Warning: %INSTALL_DIR will be replaced by the installation script, you will lose everything in it
|
||||
endiff
|
||||
|
||||
iff defined NO_COMPILE then
|
||||
echo No compilation will be performed (including EiffelStudio's compilation)
|
||||
endiff
|
||||
iff defined NO_NEW_EC then
|
||||
echo No new version of EiffelStudio will be compiled
|
||||
endiff
|
||||
iff defined BUILD_ENTERPRISE_ONLY then
|
||||
echo Only EiffelStudio Enterprise will be build
|
||||
endiff
|
||||
iff defined NO_WIZARDS then
|
||||
echo No wizards will be compiled.
|
||||
endiff
|
||||
iff defined NO_INSTALL then
|
||||
echo The delivery will be generated, but not the final installation executable
|
||||
endiff
|
||||
|
||||
|
||||
iff not defined NO_INSTALL .and. not defined NO_COMPILE then
|
||||
echo All components will be recompiled
|
||||
endiff
|
||||
|
||||
12
windows_deliv/inc/get_environment_confirmation.btm
Normal file
12
windows_deliv/inc/get_environment_confirmation.btm
Normal file
@@ -0,0 +1,12 @@
|
||||
echo You have 60s to cancel this build
|
||||
choice /T 60 /C cyn /N /D y /M "Press [C] to cancel, Press [Y] to continue now, or wait 60s ..."
|
||||
if %ERRORLEVEL% == 2 goto CONTINUE
|
||||
goto ABORT
|
||||
|
||||
:ABORT
|
||||
echo Operation cancelled!
|
||||
CANCEL
|
||||
goto eof
|
||||
|
||||
:CONTINUE
|
||||
goto eof
|
||||
3
windows_deliv/inc/set_has_c_compiler.btm
Normal file
3
windows_deliv/inc/set_has_c_compiler.btm
Normal file
@@ -0,0 +1,3 @@
|
||||
espawn --list > %INSTALL_LOG%.tmp.c_compiler
|
||||
for /f "usebackq delims=" %%a in (`findstr /n "\<%2\>" %INSTALL_LOG%.tmp.c_compiler`) do set "%1=True"
|
||||
fullrf %INSTALL_LOG%.tmp.c_compiler
|
||||
Reference in New Issue
Block a user