From e1182243aae222a15e52caf3cb85fe23d933b82e Mon Sep 17 00:00:00 2001 From: SpringHgui <740360381@qq.com> Date: Thu, 9 Apr 2020 14:34:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A8=8B=E5=BA=8F=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastTunnel.Client/FastTunnel.Client.csproj | 1 - FastTunnel.Client/nuget.config | 9 --------- FastTunnel.Server/FastTunnel.Server.csproj | 1 - FastTunnel.Server/nuget.config | 9 --------- SuiDao.Client/SuiDao.Client.csproj | 1 - SuiDao.Client/nuget.config | 9 --------- SuiDao.Server/SuiDao.Server.csproj | 1 - SuiDao.Server/nuget.config | 9 --------- publish.cmd | 5 +++-- 9 files changed, 3 insertions(+), 42 deletions(-) delete mode 100644 FastTunnel.Client/nuget.config delete mode 100644 FastTunnel.Server/nuget.config delete mode 100644 SuiDao.Client/nuget.config delete mode 100644 SuiDao.Server/nuget.config diff --git a/FastTunnel.Client/FastTunnel.Client.csproj b/FastTunnel.Client/FastTunnel.Client.csproj index f6c5348..a1a71a3 100644 --- a/FastTunnel.Client/FastTunnel.Client.csproj +++ b/FastTunnel.Client/FastTunnel.Client.csproj @@ -6,7 +6,6 @@ - diff --git a/FastTunnel.Client/nuget.config b/FastTunnel.Client/nuget.config deleted file mode 100644 index dab3073..0000000 --- a/FastTunnel.Client/nuget.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/FastTunnel.Server/FastTunnel.Server.csproj b/FastTunnel.Server/FastTunnel.Server.csproj index e3fe126..5882760 100644 --- a/FastTunnel.Server/FastTunnel.Server.csproj +++ b/FastTunnel.Server/FastTunnel.Server.csproj @@ -10,7 +10,6 @@ - diff --git a/FastTunnel.Server/nuget.config b/FastTunnel.Server/nuget.config deleted file mode 100644 index dab3073..0000000 --- a/FastTunnel.Server/nuget.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/SuiDao.Client/SuiDao.Client.csproj b/SuiDao.Client/SuiDao.Client.csproj index ad082fc..bd9565d 100644 --- a/SuiDao.Client/SuiDao.Client.csproj +++ b/SuiDao.Client/SuiDao.Client.csproj @@ -6,7 +6,6 @@ - diff --git a/SuiDao.Client/nuget.config b/SuiDao.Client/nuget.config deleted file mode 100644 index f7fd5ee..0000000 --- a/SuiDao.Client/nuget.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/SuiDao.Server/SuiDao.Server.csproj b/SuiDao.Server/SuiDao.Server.csproj index eb0647c..dd46eda 100644 --- a/SuiDao.Server/SuiDao.Server.csproj +++ b/SuiDao.Server/SuiDao.Server.csproj @@ -6,7 +6,6 @@ - diff --git a/SuiDao.Server/nuget.config b/SuiDao.Server/nuget.config deleted file mode 100644 index dab3073..0000000 --- a/SuiDao.Server/nuget.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/publish.cmd b/publish.cmd index c847cd8..a2aacc3 100644 --- a/publish.cmd +++ b/publish.cmd @@ -1,9 +1,10 @@ @echo off -for /d %%p in (FastTunnel.Client,FastTunnel.Server,SuiDao.Client) do ( +for /d %%p in (FastTunnel.Client,FastTunnel.Server,SuiDao.Client,SuiDao.Server) do ( CD ./%%p + for %%I in (win-x64,osx-x64,linux-x64) do ( - dotnet publish -o=../publish/%%p.%%I -c=release -r=%%I -f=netcoreapp3.1 & 7z a -tzip ../publish/%%p.%%I.zip ../publish/%%p.%%I + dotnet publish -o=../publish/%%p.%%I -c=release -r=%%I /p:PublishSingleFile=true /p:PublishTrimmed=true & echo f |xcopy %~dp0%%p\appsettings.json %~dp0publish\%%p.%%I\appsettings.json & 7z a -tzip ../publish/%%p.%%I.zip ../publish/%%p.%%I ) cd ../ )