提交 | 用户 | 时间
|
b0367d
|
1 |
@echo off |
H |
2 |
|
|
3 |
set dist_dir=dist |
|
4 |
|
|
5 |
set app_name=iailab-doc |
|
6 |
|
|
7 |
set version="1.0.0" |
|
8 |
|
|
9 |
set build_folder=%app_name%-%version% |
|
10 |
|
|
11 |
set target_dir=%dist_dir%\%build_folder% |
|
12 |
|
|
13 |
call mvn clean package -Dmaven.test.skip=true |
|
14 |
|
|
15 |
::copy files |
|
16 |
|
|
17 |
rd /q /s %target_dir% |
|
18 |
|
|
19 |
md %target_dir% |
|
20 |
|
|
21 |
copy iailab-doc-manage\target\iailab-doc.jar %target_dir% |
|
22 |
copy iailab-doc-manage\src\main\resources\application.yml %target_dir% |
|
23 |
|
|
24 |
xcopy /e /y /q iailab-doc-other\script %target_dir% |
|
25 |
|
|
26 |
pause |