|
@@ -4,11 +4,11 @@ Function BuildService($serviceName, $copyDll, $copyXml=0, $servicePath='', $copy
|
|
|
{
|
|
|
if($servicePath -eq '')
|
|
|
{
|
|
|
- $servicePath = "../$serviceName/src"
|
|
|
+ $servicePath = "../../$serviceName/src"
|
|
|
}
|
|
|
if($copyDest -eq '')
|
|
|
{
|
|
|
- $copyDest = "../WingCloudServer/src/bin/Debug/net6.0"
|
|
|
+ $copyDest = "../../WingCloudServer/src/bin/Debug/net6.0"
|
|
|
}
|
|
|
nuget restore "$servicePath/$serviceName.csproj" -source "http://nuget.ius.plus:88/v3/index.json;https://nuget.cdn.azure.cn/v3/index.json"
|
|
|
dotnet publish "$servicePath/$serviceName.csproj" -c Debug
|
|
@@ -24,9 +24,9 @@ Function BuildService($serviceName, $copyDll, $copyXml=0, $servicePath='', $copy
|
|
|
|
|
|
### server
|
|
|
|
|
|
-BuildService "WingServerCommon" 1 0 "../WingServerCommon"
|
|
|
+BuildService "WingServerCommon" 1 0 "../../WingServerCommon"
|
|
|
BuildService "WingInterfaceLibrary" 0 1
|
|
|
-BuildService "WingNotificationModule" 1 0 "../WingNotificationModule"
|
|
|
+BuildService "WingNotificationModule" 1 0 "../../WingNotificationModule"
|
|
|
BuildService "WingMongoDBModule" 1
|
|
|
BuildService "WingStorageModule" 1
|
|
|
|
|
@@ -37,19 +37,19 @@ BuildService "WingSessionModule" 1
|
|
|
|
|
|
BuildService "WingEmailModule" 1
|
|
|
|
|
|
-IF (-not(Test-Path ../wing/server/EmailTemplate/)) { New-Item -Path ../WingCloudServer/src/bin/Debug/net6.0/ -Name EmailTemplate -Type Directory -force }
|
|
|
-Copy-Item ../WingEmailModule/src/bin/Debug/net6.0/EmailTemplate/* -Destination ../WingCloudServer/src/bin/Debug/net6.0/EmailTemplate
|
|
|
+IF (-not(Test-Path ../../wing/server/EmailTemplate/)) { New-Item -Path ../../WingCloudServer/src/bin/Debug/net6.0/ -Name EmailTemplate -Type Directory -force }
|
|
|
+Copy-Item ../../WingEmailModule/src/bin/Debug/net6.0/EmailTemplate/* -Destination ../../WingCloudServer/src/bin/Debug/net6.0/EmailTemplate
|
|
|
|
|
|
BuildService "WingUserModule" 1
|
|
|
|
|
|
BuildService "WingManagementModule" 1
|
|
|
|
|
|
-BuildService "WingDeviceService" 1 0 "../WingDeviceService"
|
|
|
+BuildService "WingDeviceService" 1 0 "../../WingDeviceService"
|
|
|
|
|
|
-BuildService "ReportService" 1 0 "../WingReportService/ReportService"
|
|
|
+BuildService "ReportService" 1 0 "../../WingReportService/ReportService"
|
|
|
|
|
|
BuildService "WingRemedicalModule" 1
|
|
|
-BuildService "WingAIDiagnosisService" 1
|
|
|
+BuildService "WingAIDiagnosisService" 1 0 "../../WingAIDiagnosisService"
|
|
|
|
|
|
|
|
|
Write-Host 'Finished!' -NoNewline
|