NewGaoKaoApi/New_College.Publish.bat

19 lines
318 B
Batchfile

color B
del .PublishFiles\*.* /s /q
dotnet restore
dotnet build
cd New_College.Api
dotnet publish -o ..\New_College.Api\bin\Debug\netcoreapp3.1\
md ..\.PublishFiles
xcopy ..\New_College.Api\bin\Debug\netcoreapp3.1\*.* ..\.PublishFiles\ /s /e
echo "Successfully!!!! ^ please see the file .PublishFiles"
cmd