Change Win build script batch file from test.bat to current_build.bat
This commit is contained in:
+1
-1
@@ -12,4 +12,4 @@ Makefile*
|
|||||||
installer/*.exe
|
installer/*.exe
|
||||||
*.user*
|
*.user*
|
||||||
build_scripts/win/__pycache__
|
build_scripts/win/__pycache__
|
||||||
build_scripts/win/test.bat
|
build_scripts/win/current_build.bat
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
python build.py build
|
python build.py build
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
call test.bat
|
call current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
del test.bat
|
del current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
PAUSE
|
PAUSE
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ def create_batch_file():
|
|||||||
"""
|
"""
|
||||||
Creates a batch file in the dir. Must be called by another outside batch file.
|
Creates a batch file in the dir. Must be called by another outside batch file.
|
||||||
"""
|
"""
|
||||||
file = open(get_project_dir() + "\\build_scripts\\win\\test.bat", "w+")
|
file = open(get_project_dir() + "\\build_scripts\\win\\current_build.bat", "w+")
|
||||||
file.write(bat_file_contents)
|
file.write(bat_file_contents)
|
||||||
file.close()
|
file.close()
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
python build.py deploy
|
python build.py deploy
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
call test.bat
|
call current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
del test.bat
|
del current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
PAUSE
|
PAUSE
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
python build.py package
|
python build.py package
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
call test.bat
|
call current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
del test.bat
|
del current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B 1
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
PAUSE
|
PAUSE
|
||||||
|
|||||||
+3
-3
@@ -24,13 +24,13 @@ SET project_dir=%folder_path%
|
|||||||
ECHO %top_level_activity%: Calling build script.
|
ECHO %top_level_activity%: Calling build script.
|
||||||
%PYTHON_LOC%python %project_dir%\build_scripts\win\build.py build
|
%PYTHON_LOC%python %project_dir%\build_scripts\win\build.py build
|
||||||
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
||||||
call %project_dir%\build_scripts\win\test.bat
|
call %project_dir%\build_scripts\win\current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
||||||
|
|
||||||
ECHO %top_level_activity%: Calling deployment script.
|
ECHO %top_level_activity%: Calling deployment script.
|
||||||
%PYTHON_LOC%python %project_dir%\build_scripts\win\build.py deploy
|
%PYTHON_LOC%python %project_dir%\build_scripts\win\build.py deploy
|
||||||
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
||||||
call %project_dir%\build_scripts\win\test.bat
|
call %project_dir%\build_scripts\win\current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
||||||
|
|
||||||
REM The average dev doesn't need to package and zip it, just build it and test.
|
REM The average dev doesn't need to package and zip it, just build it and test.
|
||||||
@@ -42,7 +42,7 @@ IF NOT DEFINED BUILD_PACKAGE (
|
|||||||
ECHO %top_level_activity%: Calling packaging script.
|
ECHO %top_level_activity%: Calling packaging script.
|
||||||
%PYTHON_LOC%python %project_dir%\build_scripts\win\build.py package
|
%PYTHON_LOC%python %project_dir%\build_scripts\win\build.py package
|
||||||
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
||||||
call %project_dir%\build_scripts\win\test.bat
|
call %project_dir%\build_scripts\win\current_build.bat
|
||||||
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
IF ERRORLEVEL 1 EXIT /B %exit_code_failure_build_apps%
|
||||||
|
|
||||||
CD %original_dir%
|
CD %original_dir%
|
||||||
|
|||||||
Reference in New Issue
Block a user