您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

18 行
425 B

  1. @echo off
  2. set envType=%1
  3. if "%envType%"=="" (
  4. echo Please input environment
  5. ) else (
  6. echo Building ThinkFace %envType% env
  7. call mvn clean install -P %envType% -DskipTests=true -f ../pom.xml
  8. echo %envType% build successful
  9. echo upload %envType% war
  10. if "%envType%"=="docker" (
  11. docker build -t thinkface:latest .
  12. docker run -it -p 8888:8080 thinkface
  13. )
  14. )
  15. pause>nul