From fb89684f53129292bc0f66eb6a4b6f2f882e5499 Mon Sep 17 00:00:00 2001 From: JezzX2 Date: Mon, 7 Jun 2010 00:27:25 +0000 Subject: [PATCH] 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 --- build.bat | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 build.bat diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..3b78168 --- /dev/null +++ b/build.bat @@ -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 \ No newline at end of file