Former-commit-id: c77c5329caa07f4953eb77884ddfe605091976e3 Former-commit-id: fade7b43f8bb5653d9d6527da3dce3a601e2e5f6TSXN
parent
84608ca920
commit
4be4c3f949
@ -1,21 +0,0 @@
|
||||
@echo off
|
||||
set startime=%time%
|
||||
|
||||
rd /q/s "./dist/"
|
||||
|
||||
echo d|xcopy /s /e /y /f /exclude:exclude.txt "./src" "./dist/"
|
||||
|
||||
dotnet publish ../projects/WebMvc/WebMvc.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/WebMVC
|
||||
dotnet publish ../projects/WebSPA/WebSPA.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/WebSPA
|
||||
dotnet publish ../projects/UserCenter/UserCenter.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/UserCenter
|
||||
dotnet publish ../projects/JobServer/JobServer.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/JobServer
|
||||
dotnet publish ../projects/IoTCenter/IoTCenter.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/IoTCenter
|
||||
dotnet publish ../projects/IoTNode/IoTNode.csproj -c Release -r linux-arm64 -o ../publish/dist/linux-arm64/publish/apps/IoTNode
|
||||
|
||||
::dotnet publish ../projects/IoT/IoTServices/WinService/WinService.csproj -c Release -r win-x86 -o "../../publish/dist/win-x86/Program Files (x86)/WinService"
|
||||
::dotnet publish ../projects/IoT/IoTServices/LiChuangService/LiChuangService.csproj -c Release -o ../../publish/dist/linux-arm64/publish/apps/LiChuangService
|
||||
::gradle build -p ../projects/IoT/IoTServices/NJWLService
|
||||
|
||||
set endtime=%time%
|
||||
echo %startime% %endtime%
|
||||
pause
|
@ -0,0 +1,13 @@
|
||||
Remove-Item ./dist/* -recurse -force
|
||||
|
||||
Copy-Item ./src/* ./dist -recurse -Exclude @('.gitignore','debug-start.cmd','debug-stop.cmd','docker-compose.override.yml','nginx.development.conf')
|
||||
|
||||
Remove-Item ./dist/linux-x64/publish/docker/log/* -recurse -force
|
||||
Remove-Item ./dist/linux-x64/publish/docker/data/* -recurse -force
|
||||
|
||||
dotnet publish ../projects/WebMvc/WebMVC.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/WebMVC
|
||||
dotnet publish ../projects/WebSPA/WebSPA.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/WebSPA
|
||||
dotnet publish ../projects/UserCenter/UserCenter.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/UserCenter
|
||||
dotnet publish ../projects/JobServer/JobServer.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/JobServer
|
||||
dotnet publish ../projects/IoTCenter/IoTCenter.csproj -c Release -r linux-x64 -o ../publish/dist/linux-x64/publish/apps/IoTCenter
|
||||
dotnet publish ../projects/IoTNode/IoTNode.csproj -c Release -r linux-arm64 -o ../publish/dist/linux-arm64/publish/apps/IoTNode
|
@ -1,9 +0,0 @@
|
||||
.vscode
|
||||
.gitignore
|
||||
log
|
||||
docker\log\
|
||||
docker\data\
|
||||
docker-compose.override.yml
|
||||
debug-start.ps1
|
||||
debug-stop.ps1
|
||||
nginx.development.conf
|
Loading…
Reference in new issue