Added: Simple windows based build system (only) works if you checkout the whole svn)

git-svn-id: http://jezzxbmc.googlecode.com/svn/trunk/skin.pm3-hd@46 0c45cd24-f56c-ec91-222f-6e3ca35936fa
This commit is contained in:
JezzX2 2010-06-07 00:27:25 +00:00
parent 91140c3d71
commit fb89684f53
1 changed files with 32 additions and 0 deletions

32
build.bat Normal file
View File

@ -0,0 +1,32 @@
@echo off
ECHO ----------------------------------------
echo Creating Build Folder
rmdir BUILD /S /Q
md BUILD\skin.pm3.hd\media\
Echo .svn>exclude.txt
Echo Thumbs.db>>exclude.txt
Echo Desktop.ini>>exclude.txt
Echo dsstdfx.bin>>exclude.txt
Echo exclude.txt>>exclude.txt
ECHO ----------------------------------------
ECHO Creating XBT File...
START /B /WAIT ..\..\TexturePacker\TexturePacker -input media -output BUILD\skin.pm3.hd\media\Textures.xbt
ECHO ----------------------------------------
ECHO XBT Texture Files Created...
ECHO Building Skin Directory...
xcopy "720p" "BUILD\skin.pm3.hd\720p" /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy "fonts" "BUILD\skin.pm3.hd\fonts" /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy "backgrounds" "BUILD\skin.pm3.hd\backgrounds" /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy "sounds\*.*" "BUILD\skin.pm3.hd\sounds\" /Q /I /Y /EXCLUDE:exclude.txt
xcopy "colors\*.*" "BUILD\skin.pm3.hd\colors\" /Q /I /Y /EXCLUDE:exclude.txt
xcopy "language" "BUILD\skin.pm3.hd\language" /E /Q /I /Y /EXCLUDE:exclude.txt
del exclude.txt
copy *.xml "BUILD\skin.pm3.hd\"
copy *.txt "BUILD\skin.pm3.hd\"
copy icon.png "BUILD\skin.pm3.hd\"
pause