aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.confluence/build.bat
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-04-28 00:05:22 +0000
committerjmarshallnz <jmarshallnz@svn>2010-04-28 00:05:22 +0000
commit81d4a149d54d3b79f0449dad77264c642469f10d (patch)
tree39fabba02bee35f87b2cec1c149872f0719f5f79 /addons/skin.confluence/build.bat
parentd9e6ddf42d0d2787a93eaec8706e26a90d931f41 (diff)
changed: paint the (system) addons bikeshed (moves - id's to come)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29568 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons/skin.confluence/build.bat')
-rw-r--r--addons/skin.confluence/build.bat39
1 files changed, 39 insertions, 0 deletions
diff --git a/addons/skin.confluence/build.bat b/addons/skin.confluence/build.bat
new file mode 100644
index 0000000000..05d796d469
--- /dev/null
+++ b/addons/skin.confluence/build.bat
@@ -0,0 +1,39 @@
+@echo off
+ECHO ----------------------------------------
+echo Creating Confluence Build Folder
+rmdir BUILD /S /Q
+md BUILD
+
+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 ..\..\Tools\TexturePacker\TexturePacker -input media -output media\Textures.xbt
+
+ECHO ----------------------------------------
+ECHO Copying XBT File...
+xcopy "media\Textures.xbt" "BUILD\Confluence\media\" /Q /I /Y
+
+ECHO ----------------------------------------
+ECHO Cleaning Up...
+del "media\Textures.xbt"
+
+ECHO ----------------------------------------
+ECHO XBT Texture Files Created...
+ECHO Building Skin Directory...
+xcopy "720p" "BUILD\Confluence\720p" /E /Q /I /Y /EXCLUDE:exclude.txt
+xcopy "fonts" "BUILD\Confluence\fonts" /E /Q /I /Y /EXCLUDE:exclude.txt
+xcopy "backgrounds" "BUILD\Confluence\backgrounds" /E /Q /I /Y /EXCLUDE:exclude.txt
+xcopy "scripts" "BUILD\Confluence\scripts" /E /Q /I /Y /EXCLUDE:exclude.txt
+xcopy "sounds\*.*" "BUILD\Confluence\sounds\" /Q /I /Y /EXCLUDE:exclude.txt
+xcopy "colors\*.*" "BUILD\Confluence\colors\" /Q /I /Y /EXCLUDE:exclude.txt
+xcopy "language" "BUILD\Confluence\language" /E /Q /I /Y /EXCLUDE:exclude.txt
+
+del exclude.txt
+
+copy *.xml "BUILD\Confluence\"
+copy *.txt "BUILD\Confluence\" \ No newline at end of file