From 0391f4f0459bb2b5d92a655494efd75728efaedf Mon Sep 17 00:00:00 2001 From: milimoe Date: Sun, 24 Mar 2024 14:23:46 +0800 Subject: [PATCH] update bat --- build-linux-x64.bat | 4 +++- build-release-x64.bat | 5 +++++ publish-linux-x64.bat | 5 +++++ publish-release-x64.bat | 5 +++++ 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 build-release-x64.bat create mode 100644 publish-linux-x64.bat create mode 100644 publish-release-x64.bat diff --git a/build-linux-x64.bat b/build-linux-x64.bat index 9668ce8..b262d7b 100644 --- a/build-linux-x64.bat +++ b/build-linux-x64.bat @@ -1,3 +1,5 @@ @echo off -call dotnet publish -c Release -r linux-x64 +call cd src +call dotnet clean +call dotnet build -c Release -r linux-x64 pause \ No newline at end of file diff --git a/build-release-x64.bat b/build-release-x64.bat new file mode 100644 index 0000000..2bc0cd6 --- /dev/null +++ b/build-release-x64.bat @@ -0,0 +1,5 @@ +@echo off +call cd src +call dotnet clean +call dotnet build -c Release -r win-x64 +pause \ No newline at end of file diff --git a/publish-linux-x64.bat b/publish-linux-x64.bat new file mode 100644 index 0000000..e6d0fce --- /dev/null +++ b/publish-linux-x64.bat @@ -0,0 +1,5 @@ +@echo off +call cd src +call dotnet clean +call dotnet publish -c Release -r linux-x64 +pause \ No newline at end of file diff --git a/publish-release-x64.bat b/publish-release-x64.bat new file mode 100644 index 0000000..18f789b --- /dev/null +++ b/publish-release-x64.bat @@ -0,0 +1,5 @@ +@echo off +call cd src +call dotnet clean +call dotnet publish -c Release -r win-x64 +pause \ No newline at end of file