forked from yxw027/GPSTracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake_release.bat
More file actions
44 lines (25 loc) · 1.11 KB
/
make_release.bat
File metadata and controls
44 lines (25 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
@echo off
echo ***********************************************************************
echo ************************* donot suppot record *************************
echo ***********************************************************************
set version=2.0.115
set recordv=R
make.exe clean
make.exe -f makefile DEBUG_SYMBOLS=0 APP_BUILD_TIME="%date:~,10% %time:~,8%" APP_VERSION=%version%
if %errorlevel% == 0 (
rd /s /q output
copy build\GmAppMain.bin build\GmAppMain.ex
perl filecreat.pl %version%
if %errorlevel% == 0 (
echo ***********************************************************************
echo ************************* support record ******************************
echo ***********************************************************************
make.exe clean
make.exe -f makefile DEBUG_SYMBOLS=0 APP_BUILD_TIME="%date:~,10% %time:~,8%" APP_VERSION=%version%%recordv% SUPPORT_RECORD=1
if %errorlevel% == 0 (
rd /s /q output
copy build\GmAppMain.bin build\GmAppMain.ex
perl filecreat.pl %version%%recordv%
)
)
)