-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpublish_60.bat
54 lines (44 loc) · 2.14 KB
/
publish_60.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@SET SELF_PATH=%~dp0
@echo "Removing...[Output60]"
@cd %SELF_PATH%
@rd /s /q %SELF_PATH%Output60
@md %SELF_PATH%Output60
@echo "Removing...[Output60Symbols]"
@cd %SELF_PATH%
@rd /s /q %SELF_PATH%Output60Symbols
@md %SELF_PATH%Output60Symbols
@echo "MSBUILD Solutions..."
@cd %SELF_PATH%Windows\MSBUILD
@call Build_Dependency.bat
@call Build_Engine_60.bat
@call Build_Tool_60.bat
@call Build_Editor_60.bat
@echo "Renaming x64 files..."
@cd %SELF_PATH%Windows\x64\Release_60
@ren WowModelExplorer.exe WowModelExplorer-64.exe
@ren WowTexViewer.exe WowTexViewer-64.exe
@echo "Building Shaders..."
@cd %SELF_PATH%Windows\Win32\Debug_60
DXShaderBuilder.exe "..\..\..\Resource\Data\Shaders"
@if %errorlevel%==0 (echo "Building Shaders Successful:)") else (pause)
@cd %SELF_PATH%
@echo "Copy to Output60..."
@cd %SELF_PATH%
Xcopy ".\Windows\Win32\Release_60\AvalonDock.dll" ".\Output60\bin\x86\" /E /R /Y /Q
Xcopy ".\Windows\Win32\Release_60\mywow_dll.dll" ".\Output60\bin\x86\" /E /R /Y /Q
Xcopy ".\Windows\Win32\Release_60\mywowNet.dll" ".\Output60\bin\x86\" /E /R /Y /Q
Xcopy ".\Windows\Win32\Release_60\WowModelExplorer.exe" ".\Output60\bin\x86\" /E /R /Y /Q
Xcopy ".\Windows\Win32\Release_60\WowTexViewer.exe" ".\Output60\bin\x86\" /E /R /Y /Q
Xcopy ".\Windows\Win32\Release_60\WpfPropertyGrid.dll" ".\Output60\bin\x86\" /E /R /Y /Q
Xcopy ".\Windows\Win32\Release_60\*.pdb" ".\Output60Symbols\x86\" /E /R /Y /Q
Xcopy ".\Windows\x64\Release_60\AvalonDock.dll" ".\Output60\bin\x64\" /E /R /Y /Q
Xcopy ".\Windows\x64\Release_60\mywow_dll.dll" ".\Output60\bin\x64\" /E /R /Y /Q
Xcopy ".\Windows\x64\Release_60\mywowNet.dll" ".\Output60\bin\x64\" /E /R /Y /Q
Xcopy ".\Windows\x64\Release_60\WowModelExplorer-64.exe" ".\Output60\bin\x64\" /E /R /Y /Q
Xcopy ".\Windows\x64\Release_60\WowTexViewer-64.exe" ".\Output60\bin\x64\" /E /R /Y /Q
Xcopy ".\Windows\x64\Release_60\WpfPropertyGrid.dll" ".\Output60\bin\x64\" /E /R /Y /Q
Xcopy ".\Windows\x64\Release_60\*.pdb" ".\Output60Symbols\x64\" /E /R /Y /Q
Xcopy ".\Resource\*.*" ".\Output60\" /E /R /Y /Q
del ".\Output60\Data\listfile.txt"
@echo "Publish 60 Success:)"
@pause