mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
gen emu script build scripts: cleanup build tmp folder + use a nested dir for build
This commit is contained in:
parent
d5035d3dbd
commit
6f2cca7fad
@ -3,7 +3,7 @@
|
||||
|
||||
venv=".env-linux"
|
||||
out_dir="bin/linux"
|
||||
build_temp_dir="build_tmp-linux"
|
||||
build_temp_dir="build/linux/tmp"
|
||||
tool_name="generate_emu_config"
|
||||
main_file="generate_emu_config.py"
|
||||
|
||||
@ -26,4 +26,6 @@ echo;
|
||||
echo =============
|
||||
echo Built inside: "$out_dir/"
|
||||
|
||||
[[ -d "$build_temp_dir" ]] && rm -r -f "$build_temp_dir"
|
||||
|
||||
deactivate
|
||||
|
@ -5,7 +5,7 @@ pushd "%~dp0"
|
||||
|
||||
set "venv=.env-win"
|
||||
set "out_dir=bin\win"
|
||||
set "build_temp_dir=build_tmp-win"
|
||||
set "build_temp_dir=build\win\tmp"
|
||||
set "tool_name=generate_emu_config"
|
||||
set "icon_file=icon\Froyoshark-Enkel-Steam.ico"
|
||||
set "main_file=generate_emu_config.py"
|
||||
@ -37,6 +37,10 @@ echo:
|
||||
echo =============
|
||||
echo Built inside: "%out_dir%\"
|
||||
|
||||
if exist "%build_temp_dir%" (
|
||||
rmdir /s /q "%build_temp_dir%"
|
||||
)
|
||||
|
||||
:script_end
|
||||
popd
|
||||
endlocal & (
|
||||
|
Loading…
Reference in New Issue
Block a user