mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Build script: Use the correct revision and minor changes
This commit is contained in:
parent
f4a0019acf
commit
6b94f41df6
|
@ -67,7 +67,7 @@ after_build:
|
||||||
- del /Q %Mupen64PluginsDir_x64%\*.lib %Mupen64PluginsDir_x64%\*.exp
|
- del /Q %Mupen64PluginsDir_x64%\*.lib %Mupen64PluginsDir_x64%\*.exp
|
||||||
- del /Q %Mupen64PluginsDir%\*.lib %Mupen64PluginsDir%\*.exp
|
- del /Q %Mupen64PluginsDir%\*.lib %Mupen64PluginsDir%\*.exp
|
||||||
- cd %BUILD_PATH%
|
- cd %BUILD_PATH%
|
||||||
- ps: $env:revision = git describe --always
|
- ps: $env:revision = git rev-parse --short HEAD
|
||||||
- set archive_name=GLideN64-%revision%-@fname.7z
|
- set archive_name=GLideN64-%revision%-@fname.7z
|
||||||
- forfiles /p %BUILD_PATH% /c "cmd /c 7z a %archive_name% @path\*"
|
- forfiles /p %BUILD_PATH% /c "cmd /c 7z a %archive_name% @path\*"
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,7 @@ call :mbcl "%MBM64%" "%DPROJ%" "_mupenplus"
|
||||||
|
|
||||||
goto pjqt
|
goto pjqt
|
||||||
:cini
|
:cini
|
||||||
set MSG=Failed to copy some project files to:^&echo %~1
|
set MSG=Failed to copy some project files to:^& echo %~1
|
||||||
if %ESIM%==1 md "%~1" 2>nul
|
if %ESIM%==1 md "%~1" 2>nul
|
||||||
set errorlevel=0
|
set errorlevel=0
|
||||||
copy /y ini\GLideN64.custom.ini "%~1\"
|
copy /y ini\GLideN64.custom.ini "%~1\"
|
||||||
|
@ -202,14 +202,15 @@ call :cini "%M64CL%"
|
||||||
%DMN%
|
%DMN%
|
||||||
|
|
||||||
:pkg
|
:pkg
|
||||||
for /f "tokens=1" %%R in ('git describe --always') do set "REV=%%R"
|
for /f "tokens=1" %%R in ('git rev-parse --short HEAD') do set "REV=%%R"
|
||||||
set MSG=The route could not be accessed:^& echo %BUILDROUTE%
|
set MSG=The route could not be accessed:^& echo %BUILDROUTE%
|
||||||
pushd "%BUILDROUTE%"
|
pushd "%BUILDROUTE%"
|
||||||
%ERR%
|
%ERR%
|
||||||
set MOD=the compressed files
|
set MOD=the plugins
|
||||||
if %NO7%==1 set MOD=the plugins& goto z7
|
if %NO7%==0 (
|
||||||
for /f "tokens=*" %%Z in ('dir /ad /b *_%ARCH%') do 7z a -t%KAP% "GLideN64-%REV%-%%Z.%KAP%" ".\%%Z\*"
|
set MOD=the compressed files
|
||||||
:z7
|
for /f "tokens=*" %%Z in ('dir /ad /b *_%ARCH%') do 7z a -t%KAP% "GLideN64-%REV%-%%Z.%KAP%" ".\%%Z\*"
|
||||||
|
)
|
||||||
|
|
||||||
if "%ARCH%"=="x64" (
|
if "%ARCH%"=="x64" (
|
||||||
if %BOTH%==1 set ARCH=x86& goto X86
|
if %BOTH%==1 set ARCH=x86& goto X86
|
||||||
|
|
Loading…
Reference in New Issue
Block a user