Add source code distribution
This commit is contained in:
Родитель
8b3a36ceda
Коммит
ded8224cf3
|
@ -37,6 +37,7 @@ Task("Package")
|
|||
NoRestore = true,
|
||||
NoBuild = true,
|
||||
OutputDirectory = "./.artifacts",
|
||||
IncludeSource = true,
|
||||
MSBuildSettings = new DotNetCoreMSBuildSettings()
|
||||
.TreatAllWarningsAs(MSBuildTreatAllWarningsAs.Error)
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"sdk": {
|
||||
"version": "5.0.100",
|
||||
"rollForward": "latestPatch"
|
||||
"version": "5.0.301",
|
||||
"rollForward": "latestMinor"
|
||||
}
|
||||
}
|
|
@ -38,7 +38,7 @@
|
|||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.333">
|
||||
<PrivateAssets>All</PrivateAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Roslynator.Analyzers" Version="3.1.0">
|
||||
<PackageReference Include="Roslynator.Analyzers" Version="3.2.0">
|
||||
<PrivateAssets>All</PrivateAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net5.0;netstandard2.0</TargetFrameworks>
|
||||
<IsPackable>true</IsPackable>
|
||||
<PackBuildOutput>false</PackBuildOutput>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />
|
||||
<None Remove="packages.lock.json" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<NoWarn>NU5105</NoWarn>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Extensions\" />
|
||||
<Folder Include="Tables\" />
|
||||
<Compile Include="..\Wcwidth\Extensions\IntegerExtensions.cs" Link="Extensions\IntegerExtensions.cs" />
|
||||
<Compile Include="..\Wcwidth\Tables\WideTable.cs" Link="Tables\WideTable.cs" />
|
||||
<Compile Include="..\Wcwidth\Tables\WideTable.Generated.cs" Link="Tables\WideTable.Generated.cs" />
|
||||
<Compile Include="..\Wcwidth\Tables\ZeroTable.cs" Link="Tables\ZeroTable.cs" />
|
||||
<Compile Include="..\Wcwidth\Tables\ZeroTable.Generated.cs" Link="Tables\ZeroTable.Generated.cs" />
|
||||
<Compile Include="..\Wcwidth\Unicode.cs" Link="Unicode.cs" />
|
||||
<Compile Include="..\Wcwidth\UnicodeCalculator.cs" Link="UnicodeCalculator.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NuGetizer" Version="0.7.4" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -17,6 +17,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Wcwidth.Generator", "Wcwidth.Generator\Wcwidth.Generator.csproj", "{765045E2-05BC-4236-BA3D-D63A6F1AAB86}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Wcwidth.Sources", "Wcwidth.Sources\Wcwidth.Sources.csproj", "{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -63,6 +65,18 @@ Global
|
|||
{765045E2-05BC-4236-BA3D-D63A6F1AAB86}.Release|x64.Build.0 = Release|Any CPU
|
||||
{765045E2-05BC-4236-BA3D-D63A6F1AAB86}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{765045E2-05BC-4236-BA3D-D63A6F1AAB86}.Release|x86.Build.0 = Release|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Release|x64.Build.0 = Release|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{D4BD342E-EF8E-4A93-BADA-83BA154DE1CC}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
Загрузка…
Ссылка в новой задаче