mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
21 lines
177 B
Batchfile
21 lines
177 B
Batchfile
git pull
|
|
|
|
|
|
@echo off
|
|
for /f "tokens=5" %%i in ('netstat -aon ^| findstr ":8081"') do (
|
|
set n=%%i
|
|
)
|
|
taskkill /f /pid %n%
|
|
|
|
|
|
|
|
|
|
dotnet build
|
|
|
|
cd Blog.Core.Api
|
|
|
|
|
|
|
|
dotnet run
|
|
|
|
cmd |