This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
jdchain
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
31
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
optimized build scripts;
tags/1.2.0^2
huanghaiquan
4 years ago
parent
8f10f45e4c
commit
d41c829774
2 changed files
with
9 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
build/build.sh
+5
-0
build/pack.sh
+ 4
- 1
build/build.sh
View File
@@ -29,7 +29,10 @@ fi
#如果执行了测试,并且测试已经通过,那么在打包的过程中可以跳过执行单元测试;
if [ $SKIP_TESTS == 0 ]
then
SKIP_TESTS=1
# 可选值:1,2;
# 值为1时附加编译参数 -DskipTests=true;
# 值为2时附加编译参数 -Dmaven.test.skip=true
SKIP_TESTS=2
fi
#执行打包构建;
+ 5
- 0
build/pack.sh
View File
@@ -36,6 +36,11 @@ then
echo "编译参数:-DskipTests=true"
CMD="$CMD -DskipTests=true"
fi
if [ $SKIP_TESTS == 2 ]
then
echo "编译参数:-Dmaven.test.skip=true"
CMD="$CMD -Dmaven.test.skip=true"
fi
echo "执行命令:$CMD"
${CMD}
Write
Preview
Loading…
Cancel
Save