2019-09-10 13:40:33 +00:00
|
|
|
echo "Delete publish folder"
|
2019-09-11 08:38:16 +00:00
|
|
|
rmdir /s /q publish
|
2019-09-10 13:40:33 +00:00
|
|
|
|
|
|
|
echo "Publish ASC.Notify.csproj project"
|
|
|
|
dotnet publish ..\common\services\ASC.Notify\ASC.Notify.csproj -c Release -o publish/ASC.Notify/
|
|
|
|
if not %errorlevel% == 0 goto end
|
|
|
|
|
|
|
|
echo "Publish ASC.People.csproj project"
|
|
|
|
dotnet publish ..\products\ASC.People\Server\ASC.People.csproj -c Release -o publish/ASC.People/
|
|
|
|
if not %errorlevel% == 0 goto end
|
|
|
|
|
|
|
|
echo "Publish ASC.Studio.Notify.csproj project"
|
|
|
|
dotnet publish ..\common\services\ASC.Studio.Notify\ASC.Studio.Notify.csproj -c Release -o publish/ASC.Studio.Notify/
|
|
|
|
if not %errorlevel% == 0 goto end
|
|
|
|
|
|
|
|
echo "Publish ASC.Web.Api.csproj project"
|
|
|
|
dotnet publish ..\web\ASC.Web.Api\ASC.Web.Api.csproj -c Release -o publish/ASC.Web.Studio
|
|
|
|
if not %errorlevel% == 0 goto end
|
|
|
|
|
|
|
|
echo "Publish ASC.Web.Studio.csproj project"
|
|
|
|
dotnet publish ..\web\ASC.Web.Studio\ASC.Web.Studio.csproj -c Release -o publish/ASC.Web.Studio
|
|
|
|
if not %errorlevel% == 0 goto end
|
|
|
|
|
|
|
|
echo "Publish ASC.People project"
|
|
|
|
xcopy ..\products\ASC.People\Client\*.* publish\ASC.People.Client\ /E /R /Y
|
|
|
|
|
|
|
|
echo "Publish ASC.Web.Client project"
|
|
|
|
xcopy ..\web\ASC.Web.Client\*.* publish\ASC.Web.Client\ /E /R /Y
|
|
|
|
|
2020-03-05 11:56:07 +00:00
|
|
|
echo "Publish ASC.UrlShortener.Svc.csproj project"
|
|
|
|
dotnet publish ..\common\services\ASC.UrlShortener.Svc\ASC.UrlShortener.Svc.csproj -c Release -o publish/ASC.UrlShortener.Svc/
|
|
|
|
xcopy ..\common\ASC.UrlShortener\*.* publish\ASC.UrlShortener\ /E /R /Y
|
|
|
|
if not %errorlevel% == 0 goto end
|
|
|
|
|
2019-09-10 13:40:33 +00:00
|
|
|
:end
|
|
|
|
pause
|