发布脚本放到解决方案根目录

This commit is contained in:
xljiulang 2021-07-27 21:42:50 +08:00
parent cbd12b69d5
commit 49c21111fb
5 changed files with 49 additions and 66 deletions

View File

@ -4,6 +4,7 @@
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.0-*" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.0-*" />
<PackageReference Include="DNS" Version="6.1.0" />
<ProjectReference Include="..\FastGithub.Configuration\FastGithub.Configuration.csproj" />
</ItemGroup>
<ItemGroup>
@ -30,8 +31,4 @@
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FastGithub.Configuration\FastGithub.Configuration.csproj" />
</ItemGroup>
</Project>

View File

@ -1,12 +0,0 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "5.0.8",
"commands": [
"dotnet-ef"
]
}
}
}

View File

@ -7,9 +7,6 @@
<IsWebConfigTransformDisabled>true</IsWebConfigTransformDisabled>
<ApplicationIcon>app.ico</ApplicationIcon>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
</PropertyGroup>

View File

@ -1,5 +1,5 @@
#! /bin/bash
cd ./bin/publish
cd ./FastGithub/bin/publish
# linux-x64
chmod 777 ./linux-x64/dnscrypt-proxy

View File

@ -1,3 +1,4 @@
cd ./FastGithub
set output=./bin/publish
if exist "%output%" rd /S /Q "%output%"
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -r win-x64 -o "%output%/win-x64"