Skip to content

Commit

Permalink
Build.cake changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
CanerPatir committed May 4, 2018
1 parent f465f8a commit d170097
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,8 @@ paket-files/

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
*.pyc

.dotnet/
tools/
nupkg/
1 change: 1 addition & 0 deletions AntiSamy.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build.cake
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -25,7 +25,7 @@ var testProjects = new List<Tuple<string, string[]>>


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";
Expand Down
2 changes: 2 additions & 0 deletions src/AntiSamy/AntiSamy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Caner Patır</Authors>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit d170097

Please sign in to comment.