Skip to content

Commit f6c2419

Browse files
author
Christian Junk
committed
Fixed cake build.
1 parent 6b92e31 commit f6c2419

File tree

1 file changed

+31
-5
lines changed

1 file changed

+31
-5
lines changed

build.cake

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,46 @@ Task("BuildPackages")
6262
//.IsDependentOn("Run-Unit-Tests")
6363
.Does(() =>
6464
{
65-
var nuGetPackSettings = new NuGetPackSettings
66-
{
67-
OutputDirectory = "./artifacts",
65+
var nuGetPackSettings = new NuGetPackSettings {
66+
Id = "Geomatics.IO.NHibernate.JetDriver",
67+
Version = "4.1.1.4000-b10",
68+
Title = "Geomatics.IO.NHibernate.JetDriver",
69+
Owners = new[] {"christianjunk", "geomatics"},
70+
Authors = new[] {"Christian Junk", "NHibernate.org"},
71+
Description = "The Jet driver and dialect for NHibernate.",
72+
//Summary = "Excellent summary of what the package does",
73+
ProjectUrl = new Uri("https://github.com/geomatics-io/NHibernate.JetDriver"),
74+
IconUrl = new Uri("https://github.com/geomatics-io/NHibernate.JetDriver/raw/master/NHibernate.JetDriver.png"),
75+
LicenseUrl = new Uri("https://raw.githubusercontent.com/geomatics-io/NHibernate.JetDriver/master/LICENSE.md"),
76+
//Copyright = "Some company 2015",
77+
//ReleaseNotes = new [] {"Bug fixes", "Issue fixes", "Typos"},
78+
Tags = new [] {"NHibernate", "jet", "driver", "csharp", "csharp-library", "dotnet"},
79+
RequireLicenseAcceptance= false,
80+
//Symbols = false,
81+
NoPackageAnalysis = true,
82+
Files = new [] {new NuSpecContent {Source = "NHibernate.JetDriver.dll", Target = "bin"},},
83+
BasePath = "./src/NHibernate.JetDriver/bin/Release",
84+
OutputDirectory = "./artifacts",
6885
IncludeReferencedProjects = true,
6986
Properties = new Dictionary<string, string>
7087
{
7188
{ "Configuration", "Release" }
72-
}
89+
},
90+
Dependencies = new []{ new NuSpecDependency {
91+
Id = "NHibernate",
92+
Version = "[4.0.0.4000,4.1.1.4000]"
93+
},
94+
new NuSpecDependency {
95+
Id = "log4net",
96+
Version = "[2.0.0,2.0.8]"
97+
},
98+
},
7399
};
74100

75101
MSBuild("./src/NHibernate.JetDriver.Tests/NHibernate.JetDriver.Tests.csproj", new MSBuildSettings().SetConfiguration("Release").SetMSBuildPlatform(MSBuildPlatform.x86));
76102

77103
MSBuild("./src/NHibernate.JetDriver/NHibernate.JetDriver.csproj", new MSBuildSettings().SetConfiguration("Release"));
78-
NuGetPack("./src/NHibernate.JetDriver/NHibernate.JetDriver.csproj", nuGetPackSettings);
104+
NuGetPack(nuGetPackSettings);
79105
});
80106

81107
//////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)