-
Notifications
You must be signed in to change notification settings - Fork 20
/
cpsrc.bat
77 lines (67 loc) · 3.05 KB
/
cpsrc.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
@echo off
set SRC_PATH=F:\qobj\droid\DIII4A
set DST_PATH=F:\data\DIII4A
if exist "%DST_PATH%" (
echo Remove %DST_PATH%
del /S/Q %DST_PATH%
rmdir /S/Q %DST_PATH%
) else (
echo Not found %DST_PATH%
)
echo Create %DST_PATH%
mkdir %DST_PATH%
mkdir %DST_PATH%\idTech4amm
mkdir %DST_PATH%\Q3E
echo Copying %SRC_PATH% to %DST_PATH%
xcopy /E/I/Y/Q %SRC_PATH%\idTech4amm\src %DST_PATH%\idTech4amm\src
xcopy /Y/Q %SRC_PATH%\idTech4amm\build.gradle %DST_PATH%\idTech4amm\
xcopy /Y/Q %SRC_PATH%\idTech4amm\lint.xml %DST_PATH%\idTech4amm\
del /S/Q %DST_PATH%\idTech4amm\src\main\assets
xcopy /E/I/Y/Q %SRC_PATH%\Q3E\src %DST_PATH%\Q3E\src
xcopy /Y/Q %SRC_PATH%\Q3E\build.gradle %DST_PATH%\Q3E\
del /S/Q %DST_PATH%\Q3E\src\main\assets
del /S/Q %DST_PATH%\Q3E\src\main\jni\duke4
rmdir /S/Q %DST_PATH%\Q3E\src\main\jni\duke4
del /S/Q %DST_PATH%\Q3E\src\main\jni\doom3bfg\base\def
del /S/Q %DST_PATH%\Q3E\src\main\jni\doom3bfg\base\materials
del /S/Q %DST_PATH%\Q3E\src\main\jni\doom3bfg\base\textures
del /S/Q %DST_PATH%\Q3E\src\main\jni\doom3bfg\base\maps
del /Q %DST_PATH%\Q3E\src\main\jni\doom3bfg\base\*.cfg
del /Q %DST_PATH%\Q3E\src\main\jni\doom3bfg\neo\astyle.*
del /Q %DST_PATH%\Q3E\src\main\jni\doom3bfg\neo\premake4.exe
del /S/Q %DST_PATH%\Q3E\src\main\jni\etw\etmain
rmdir /S/Q %DST_PATH%\Q3E\src\main\etw\etmain\static
del /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc\static
rmdir /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc\static
del /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc_bm\static
rmdir /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc_bm\static
del /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc_extra\static
rmdir /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc_extra\static
del /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc_lights\static
rmdir /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc_lights\static
del /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc_widepix\static
rmdir /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\wadsrc_widepix\static
del /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\soundfont
del /S/Q %DST_PATH%\Q3E\src\main\jni\gzdoom\fm_banks
rem xcopy /Y/Q %SRC_PATH%\CHANGES.zh.md %DST_PATH%\
rem xcopy /Y/Q %SRC_PATH%\README.zh.md %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\.gitignore %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\build.gradle %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\CHANGES.md %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\CHECK_FOR_UPDATE.json %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\CMakeLists.txt %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\gradle.properties %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\gradlew %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\gradlew.bat %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\idtech4amm.keystore %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\LICENSE %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\local.properties %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\README.md %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\settings.gradle %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\cmake_linux_build_doom3_quak4_prey.sh %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\cmake_msvc_build_doom3_quak4_prey.bat %DST_PATH%\
xcopy /Y/Q %SRC_PATH%\cmake_linux_build_doom3bfg.sh %DST_PATH%\
echo Done!
start "" %DST_PATH%
rem F:\qobj\droid\DIII4A\idTech4Amm\src\main\assets\source\DIII4A.source.tgz
pause