Browse Source

add publish.ps1 code with "copy measure file"

MIke 2 years ago
parent
commit
c56468255a
2 changed files with 7 additions and 3 deletions
  1. 3 3
      Publish.ps1
  2. 4 0
      src/Publish.ps1

+ 3 - 3
Publish.ps1

@@ -59,9 +59,9 @@ BuildService "ReportService" 1 0 "../WingReportService/ReportService"
 
 BuildService "WingRemedicalModule" 1
 IF (-not(Test-Path ../wing/server/Measure/)) { New-Item -Path ../WingCloudServer/src/bin/Debug/net6.0/ -Name Measure -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
+Copy-Item ../WingRemedicalModule/src/bin/Debug/net6.0/MeasureItemFiles/Measure/* -Destination ../WingCloudServer/src/bin/Debug/net6.0/Measure
+IF (-not(Test-Path ../wing/server/Comment/)) { New-Item -Path ../WingCloudServer/src/bin/Debug/net6.0/ -Name Comment -Type Directory -force }
+Copy-Item ../WingRemedicalModule/src/bin/Debug/net6.0/MeasureItemFiles/Comment/* -Destination ../WingCloudServer/src/bin/Debug/net6.0/Comment
 
 
 Copy-Item -recurse -Force ../WingServerCommon/bin/Debug/net6.0/publish/WingServerCommon.dll -Destination ../WingCloudServer/src/bin/Debug/net6.0/WingServerCommon.dll

+ 4 - 0
src/Publish.ps1

@@ -59,6 +59,10 @@ BuildService "VidProcessService" 1 0 "../../WingVidProcessService/VidProcessServ
 BuildService "ReportService" 1 0 "../../WingReportService/ReportService"
 
 BuildService "WingRemedicalModule" 1
+IF (-not(Test-Path ../../wing/server/Measure/)) { New-Item -Path ../../WingCloudServer/src/bin/Debug/net6.0/ -Name Measure -Type Directory -force }
+Copy-Item ../../WingRemedicalModule/src/bin/Debug/net6.0/MeasureItemFiles/Measure/* -Destination ../../WingCloudServer/src/bin/Debug/net6.0/Measure
+IF (-not(Test-Path ../../wing/server/Comment/)) { New-Item -Path ../../WingCloudServer/src/bin/Debug/net6.0/ -Name Comment -Type Directory -force }
+Copy-Item ../../WingRemedicalModule/src/bin/Debug/net6.0/MeasureItemFiles/Comment/* -Destination ../../WingCloudServer/src/bin/Debug/net6.0/Comment
 
 BuildService "WingNotificationModule" 1 0 "../../WingNotificationModule"