From ded8224cf3eb94652424dfc36e041b4e06ba13bf Mon Sep 17 00:00:00 2001 From: Patrik Svensson Date: Thu, 29 Jul 2021 10:38:17 +0200 Subject: [PATCH] Add source code distribution --- build.cake | 1 + global.json | 4 +- src/Directory.Build.props | 2 +- src/Wcwidth.Sources/Wcwidth.Sources.csproj | 43 ++++++++++++++++++++++ src/Wcwidth.sln | 14 +++++++ 5 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 src/Wcwidth.Sources/Wcwidth.Sources.csproj diff --git a/build.cake b/build.cake index 60c5825..7bed9da 100644 --- a/build.cake +++ b/build.cake @@ -37,6 +37,7 @@ Task("Package") NoRestore = true, NoBuild = true, OutputDirectory = "./.artifacts", + IncludeSource = true, MSBuildSettings = new DotNetCoreMSBuildSettings() .TreatAllWarningsAs(MSBuildTreatAllWarningsAs.Error) }); diff --git a/global.json b/global.json index 355d35d..02a2e4a 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "5.0.100", - "rollForward": "latestPatch" + "version": "5.0.301", + "rollForward": "latestMinor" } } \ No newline at end of file diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 3c60fcd..ac424d7 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -38,7 +38,7 @@ All - + All diff --git a/src/Wcwidth.Sources/Wcwidth.Sources.csproj b/src/Wcwidth.Sources/Wcwidth.Sources.csproj new file mode 100644 index 0000000..72178e8 --- /dev/null +++ b/src/Wcwidth.Sources/Wcwidth.Sources.csproj @@ -0,0 +1,43 @@ + + + + net5.0;netstandard2.0 + true + false + + + + + + + + + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + true + true + true + false + latest + NU5105 + true + true + true + + + + + + + + + + + + + + + + + + + diff --git a/src/Wcwidth.sln b/src/Wcwidth.sln index 15436d4..91758a0 100644 --- a/src/Wcwidth.sln +++ b/src/Wcwidth.sln @@ -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