|
|
|
@@ -2,14 +2,13 @@ |
|
|
|
|
|
|
|
baseDir="/home/somuns/ci4s" |
|
|
|
|
|
|
|
buildDir=$baseDir |
|
|
|
|
|
|
|
#判断$1是否为all,如果是,则编译所有模块,否则只编译management-platform模块 |
|
|
|
#if [ "$1" == "all" ]; then |
|
|
|
# buildDir=$baseDir |
|
|
|
#else |
|
|
|
# buildDir="$baseDir/ruoyi-modules/management-platform" |
|
|
|
#fi |
|
|
|
if [ "$1" == "all" ]; then |
|
|
|
buildDir=$baseDir |
|
|
|
else |
|
|
|
buildDir="$baseDir/ruoyi-modules/management-platform" |
|
|
|
fi |
|
|
|
|
|
|
|
echo "Building $buildDir" |
|
|
|
cd $buildDir && mvn clean install |
|
|
|
|