From d170097bb9ce03a6301bf955116e2fcf84b8ba23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caner=20Pat=C4=B1r?= Date: Fri, 4 May 2018 16:53:38 +0300 Subject: [PATCH] Build.cake changes. --- .gitignore | 6 +++++- AntiSamy.NET.sln | 1 + build.cake | 4 ++-- src/AntiSamy/AntiSamy.csproj | 2 ++ 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3c4efe2..5cb1bee 100644 --- a/.gitignore +++ b/.gitignore @@ -258,4 +258,8 @@ paket-files/ # Python Tools for Visual Studio (PTVS) __pycache__/ -*.pyc \ No newline at end of file +*.pyc + +.dotnet/ +tools/ +nupkg/ \ No newline at end of file diff --git a/AntiSamy.NET.sln b/AntiSamy.NET.sln index 04dd872..843c87c 100644 --- a/AntiSamy.NET.sln +++ b/AntiSamy.NET.sln @@ -13,6 +13,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AntiSamy.Tests", "test\Anti EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{6AE9E6A9-4CC1-40C7-A858-5A2E6635E207}" ProjectSection(SolutionItems) = preProject + .gitignore = .gitignore appveyor.yml = appveyor.yml build.cake = build.cake build.ps1 = build.ps1 diff --git a/build.cake b/build.cake index 13b1581..208e0de 100644 --- a/build.cake +++ b/build.cake @@ -1,4 +1,4 @@ -#tool "nuget:?package=xunit.runner.console&version=2.3.0-beta4-build3742" +#tool "nuget:?package=xunit.runner.console&version=2.3.0-beta4-build3742" #addin "nuget:?package=NuGet.Core" #addin "nuget:?package=Cake.ExtendedNuGet" @@ -25,7 +25,7 @@ var testProjects = new List> var nupkgPath = "nupkg"; -var nupkgRegex = $"**/{projectName}*.nupkg"; +var nupkgRegex = $"**/AntiSamy*.nupkg"; var nugetPath = toolpath + "/nuget.exe"; var nugetQueryUrl = "https://www.nuget.org/api/v2/"; var nugetPushUrl = "https://www.nuget.org/api/v2/package"; diff --git a/src/AntiSamy/AntiSamy.csproj b/src/AntiSamy/AntiSamy.csproj index 52d6a7e..979a3b1 100644 --- a/src/AntiSamy/AntiSamy.csproj +++ b/src/AntiSamy/AntiSamy.csproj @@ -2,6 +2,8 @@ netstandard2.0 + true + Caner Patır