Small clean-up.

This commit is contained in:
LoRd_MuldeR 2016-12-22 20:55:42 +01:00
parent 7e2ec795d4
commit a1b1f7a255
5 changed files with 25 additions and 3 deletions

View File

@ -12,8 +12,6 @@ call::git_export "%~dp0..\.." LameXP_Qt
call::git_export "%~dp0\..\..\..\MUtilities" MUtilities
copy "..\..\*.txt" "%OUT_PATH%"
mkdir "%OUT_PATH%\Prerequisites"
echo Please extract the Prerequisites files here! > "%OUT_PATH%\Prerequisites\README_1ST.txt"
pushd "%OUT_PATH%"
@ -21,7 +19,7 @@ tar -cvf ./sources.tar *
"%~dp0\..\..\..\Prerequisites\SevenZip\7za.exe" a -txz "%~dp0\..\..\out\~sources.tar.xz" "sources.tar"
popd
pushd "%~dp0"
cd /d "%~dp0"
rmdir /S /Q "%OUT_PATH%"
pause

Binary file not shown.

Binary file not shown.

11
res/z_mkhash.bat Normal file
View File

@ -0,0 +1,11 @@
@echo off
cd tools
set "QTDIR=C:\Qt\4.8.7"
set "PATH=%QTDIR%\bin;%PATH%"
set "TMPFILENAME=%TMP%\~%RANDOM%%RANDOM%.txt"
for %%f in (*.*) do (
echo %%f
"%~dp0\..\..\MakeHash\Release\MakeHash.exe" "%%f" 2> NUL >> "%TMPFILENAME%"
)
start /WAIT notepad.exe "%TMPFILENAME%"
del "%TMPFILENAME%"

13
res/z_mktools.bat Normal file
View File

@ -0,0 +1,13 @@
@echo off
setlocal enabledelayedexpansion
cd /d "%~dp0"
for %%i in (tools\*.exe) do (
echo %%~nxi
set "OUTNAME=%%~ni"
set "OUTNAME=!OUTNAME:.=-!"
echo ^<!DOCTYPE RCC^> > "Tools.!OUTNAME!.qrc"
echo ^<RCC version="1.0"^>^<qresource^>^<file^>tools/%%~nxi^</file^>^</qresource^>^</RCC^> >> "Tools.!OUTNAME!.qrc"
)
pause