aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estouchy/build.bat
diff options
context:
space:
mode:
authorronie <ronie@users.noreply.github.com>2016-02-26 23:22:34 +0100
committerronie <ronie@users.noreply.github.com>2016-03-01 20:32:44 +0100
commitdaf2dcdc66ef6f9c2f91cbfc41edb5ba4b79f6f8 (patch)
treea5de84cbd76500ee25d16aad61dad21b211c6086 /addons/skin.estouchy/build.bat
parent66420bbf838b3f5b358e01c76e37db20e1cb5566 (diff)
add estouchy
Diffstat (limited to 'addons/skin.estouchy/build.bat')
-rw-r--r--addons/skin.estouchy/build.bat21
1 files changed, 21 insertions, 0 deletions
diff --git a/addons/skin.estouchy/build.bat b/addons/skin.estouchy/build.bat
new file mode 100644
index 0000000000..feb59dc522
--- /dev/null
+++ b/addons/skin.estouchy/build.bat
@@ -0,0 +1,21 @@
+@echo off
+ECHO ----------------------------------------
+echo Creating estouchy Build Folder
+IF Exist ..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy rmdir ..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy /S /Q
+md ..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy\media\
+
+Echo build.bat>>exclude.txt
+Echo .git>>exclude.txt
+Echo \skin.estouchy\media\>>exclude.txt
+Echo exclude.txt>>exclude.txt
+
+ECHO ----------------------------------------
+ECHO Creating XBT File...
+START /B /WAIT ..\..\Tools\TexturePacker\TexturePacker -dupecheck -input media -output ..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy\media\Textures.xbt
+
+ECHO ----------------------------------------
+ECHO XBT Texture Files Created...
+ECHO Building Skin Directory...
+xcopy "..\skin.estouchy" "..\..\project\Win32BuildSetup\BUILD_WIN32\addons\skin.estouchy" /E /Q /I /Y /EXCLUDE:exclude.txt
+
+del exclude.txt