-
Notifications
You must be signed in to change notification settings - Fork 13
/
publish.bat
36 lines (27 loc) · 1.42 KB
/
publish.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
echo "Delete publish folder"
rmdir /s /q publish
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
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
:end
pause