-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild_gunz.bat
More file actions
68 lines (43 loc) · 1.11 KB
/
build_gunz.bat
File metadata and controls
68 lines (43 loc) · 1.11 KB
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
@rem -----------------------------
@rem 환경 변수 설정
@rem -----------------------------
@CALL Utils\bin\setenv
@cd Utils\bin
@call _getdatetime.bat datetime
@cd ..\..
if "%datetime%" == "" GOTO ERROR
@rem -----------------------------
@rem Clear
@rem -----------------------------
del "Gunz\Runtime\Gunz.exe"
del "Gunz\Runtime\Gunz.pdb"
@rem -----------------------------
@rem 소스, 리소스를 받아온다.
@rem -----------------------------
CALL updatefiles
@rem -----------------------------
@rem 컴파일
@rem -----------------------------
%DEVENV% "Gunz\Gunz.sln" /rebuild Release_publish /out "Gunz\Runtime\build.log"
@rem -----------------------------
@rem ddsgen 실행
@rem ------------------------------
@cd "Gunz\Runtime"
CALL Delete_DDS
CALL ddsgen
CALL copy_share
@rem -----------------------------
@rem publish 실행
@rem ------------------------------
if "%1" == "" goto :no_target
if "%datetime%" == "" goto :no_target
SET build_target=\\Databank\TeamWorks\Gunz\BuildClient\!Daily\Gunz_%datetime%\
:no_target
CALL publish kor %build_target%
@cd "..\.."
GOTO END
:ERROR
echo 빌드 에러
pause
exit
:END