You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
1.1 KiB
13 lines
1.1 KiB
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 |