|
@@ -13,69 +13,34 @@ if "%curr%"=="WingCloudServer" (
|
|
|
)
|
|
|
|
|
|
:Main
|
|
|
-set /a pullnum=0
|
|
|
+echo [正在检查获取远程代码,请勿关闭当前操作页]
|
|
|
for /d %%i in (*) do (
|
|
|
cd %%i
|
|
|
if exist *.git (
|
|
|
- set /a pullnum+=1
|
|
|
+ echo ---------------------- %%i ----------------------
|
|
|
+ chdir && git pull
|
|
|
)
|
|
|
cd ..
|
|
|
)
|
|
|
-
|
|
|
-if %pullnum% equ 0 (
|
|
|
- echo [正在下载项目文件,请勿关闭当前操作页]
|
|
|
- goto Clone
|
|
|
-) else (
|
|
|
- echo [正在检查获取远程代码,请勿关闭当前操作页]
|
|
|
- for /d %%i in (*) do (
|
|
|
- cd %%i
|
|
|
- if exist *.git (
|
|
|
- echo ---------------------- %%i ----------------------
|
|
|
- chdir && git pull
|
|
|
- )
|
|
|
- cd ..
|
|
|
- )
|
|
|
- if %pullnum% lss 16 (
|
|
|
- goto MsgClone
|
|
|
- )
|
|
|
-)
|
|
|
-
|
|
|
echo;
|
|
|
-echo Finished!
|
|
|
-pause>nul
|
|
|
-exit
|
|
|
|
|
|
-:MsgClone
|
|
|
-echo;
|
|
|
-echo 远程代码已成功合并到本地,是否检查下载其它模块?(y/n)
|
|
|
-set /p dl=
|
|
|
-if "%dl%"=="y" (
|
|
|
- goto Clone
|
|
|
-) else (
|
|
|
- echo;
|
|
|
- echo Finished!
|
|
|
-)
|
|
|
-
|
|
|
-pause>nul
|
|
|
-exit
|
|
|
-
|
|
|
-:Clone
|
|
|
-if not exist WingServerCommon (git clone http://git.ius.plus:88/Project-Wing/WingServerCommon.git && echo;)
|
|
|
-if not exist WingMongoDBModule (git clone http://git.ius.plus:88/Project-Wing/WingMongoDBModule.git && echo;)
|
|
|
-if not exist WingStorageModule (git clone http://git.ius.plus:88/Project-Wing/WingStorageModule.git && echo;)
|
|
|
-if not exist WingSMSModule (git clone http://git.ius.plus:88/Project-Wing/WingSMSModule.git && echo;)
|
|
|
-if not exist WingUserModule (git clone http://git.ius.plus:88/Project-Wing/WingUserModule.git && echo;)
|
|
|
-if not exist WingSessionModule (git clone http://git.ius.plus:88/Project-Wing/WingSessionModule.git && echo;)
|
|
|
-if not exist WingRemedicalModule (git clone http://git.ius.plus:88/Project-Wing/WingRemedicalModule.git && echo;)
|
|
|
-if not exist WingManagementModule (git clone http://git.ius.plus:88/Project-Wing/WingManagementModule.git && echo;)
|
|
|
-if not exist WingEmailModule (git clone http://git.ius.plus:88/Project-Wing/WingEmailModule.git && echo;)
|
|
|
-if not exist WingInterfaceLibrary (git clone http://git.ius.plus:88/Project-Wing/WingInterfaceLibrary.git && echo;)
|
|
|
+if not exist WingAIDiagnosisService (git clone http://git.ius.plus/Project-Wing/WingAIDiagnosisService.git && echo;)
|
|
|
if not exist WingCloudServer (git clone http://git.ius.plus:88/Project-Wing/WingCloudServer.git && echo;)
|
|
|
if not exist WingDeviceService (git clone http://git.ius.plus:88/Project-Wing/WingDeviceService.git && echo;)
|
|
|
+if not exist WingEmailModule (git clone http://git.ius.plus:88/Project-Wing/WingEmailModule.git && echo;)
|
|
|
+if not exist WingInterfaceLibrary (git clone http://git.ius.plus:88/Project-Wing/WingInterfaceLibrary.git && echo;)
|
|
|
+if not exist WingManagementModule (git clone http://git.ius.plus:88/Project-Wing/WingManagementModule.git && echo;)
|
|
|
+if not exist WingMongoDBModule (git clone http://git.ius.plus:88/Project-Wing/WingMongoDBModule.git && echo;)
|
|
|
if not exist WingNotificationModule (git clone http://git.ius.plus/Project-Wing/WingNotificationModule.git && echo;)
|
|
|
-if not exist WingVinnoImageData (git clone http://git.ius.plus/Project-Wing/WingVinnoImageData.git && echo;)
|
|
|
+if not exist WingRemedicalModule (git clone http://git.ius.plus:88/Project-Wing/WingRemedicalModule.git && echo;)
|
|
|
if not exist WingReportService (git clone http://git.ius.plus/Project-Wing/WingReportService.git && echo;)
|
|
|
-if not exist WingAIDiagnosisService (git clone http://git.ius.plus/Project-Wing/WingAIDiagnosisService.git && echo;)
|
|
|
+if not exist WingServerCommon (git clone http://git.ius.plus:88/Project-Wing/WingServerCommon.git && echo;)
|
|
|
+if not exist WingSessionModule (git clone http://git.ius.plus:88/Project-Wing/WingSessionModule.git && echo;)
|
|
|
+if not exist WingSMSModule (git clone http://git.ius.plus:88/Project-Wing/WingSMSModule.git && echo;)
|
|
|
+if not exist WingStorageModule (git clone http://git.ius.plus:88/Project-Wing/WingStorageModule.git && echo;)
|
|
|
+if not exist WingUserModule (git clone http://git.ius.plus:88/Project-Wing/WingUserModule.git && echo;)
|
|
|
+if not exist WingVinnoImageData (git clone http://git.ius.plus/Project-Wing/WingVinnoImageData.git && echo;)
|
|
|
+
|
|
|
echo Finished!
|
|
|
pause>nul
|
|
|
-exit
|
|
|
+exit
|