You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build-java.sh.bak 404 B

1 year ago
12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. baseDir="/home/somuns/ci4s"
  3. #判断$1是否为all,如果是,则编译所有模块,否则只编译management-platform模块
  4. if [ "$1" == "all" ]; then
  5. buildDir=$baseDir
  6. else
  7. buildDir="$baseDir/ruoyi-modules/management-platform"
  8. fi
  9. echo "Building $buildDir"
  10. cd $buildDir && mvn clean install
  11. if [ $? -ne 0 ]; then
  12. echo "Failed to build ruoyi-modules"
  13. exit 1
  14. fi