Skip to content

Commit

Permalink
fixed NuGet dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mausch committed Dec 30, 2011
1 parent 3c80db3 commit c98d658
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Target "NuGet" (fun _ ->
mkdir nugetLib
cp docsFile nugetDocs
!!(buildDir @@ "SolrNet.*") |> Copy nugetLib
nuGetBuild "SolrNet" "Apache Solr client" ["CommonServiceLocator", "1.0"]
nuGetBuild "SolrNet" "Apache Solr client" ["CommonServiceLocator", "[1.0]"]
)

let nuGetSingle dir =
Expand All @@ -137,52 +137,54 @@ let nuGetSingle dir =
!!(dir @@ "bin" @@ config @@ (dir + ".*")) |> Copy nugetLib
nuGetBuild

let solrNetDep = "SolrNet", "[" + version + "]"

Target "NuGet.Windsor" (fun _ ->
nuGetSingle
"Castle.Facilities.SolrNetIntegration"
"SolrNet.Windsor"
"Windsor facility for SolrNet"
["Castle.Windsor", "[2.5.1,2.5.3]"; "SolrNet", version]
["Castle.Windsor", "[3.0.0.4001]"; solrNetDep]
)

Target "NuGet.Ninject" (fun _ ->
nuGetSingle
"Ninject.Integration.SolrNet"
"SolrNet.Ninject"
"Ninject module for SolrNet"
["Ninject", "[2.2.0.0,2.2.1.0]"; "SolrNet", version]
["Ninject", "[2.2.0.0,2.2.1.0]"; solrNetDep]
)

Target "NuGet.NHibernate" (fun _ ->
nuGetSingle
"NHibernate.SolrNet"
"SolrNet.NHibernate"
"NHibernate integration for SolrNet"
["NHibernate", "3.1.0.4000"; "CommonServiceLocator", "1.0"; "SolrNet", version]
["NHibernate", "[3.2.0.4000]"; solrNetDep]
)

Target "NuGet.StructureMap" (fun _ ->
nuGetSingle
"StructureMap.SolrNetIntegration"
"SolrNet.StructureMap"
"StructureMap registry for SolrNet"
["structuremap", "2.6.2.0"; "SolrNet", version]
["structuremap", "[2.6.2.0]"; solrNetDep]
)

Target "NuGet.Autofac" (fun _ ->
nuGetSingle
"AutofacContrib.SolrNet"
"SolrNet.Autofac"
"Autofac module for SolrNet"
["Autofac", "2.5.2.830"; "SolrNet", version]
["Autofac", "[2.5.2.830]"; solrNetDep]
)

Target "NuGet.Unity" (fun _ ->
nuGetSingle
"Unity.SolrNetIntegration"
"SolrNet.Unity"
"Unity integration for SolrNet"
["Unity", "2.1.505.0"; "SolrNet", version]
["Unity", "[2.1.505.0]"; solrNetDep]
)

Target "ReleasePackage" (fun _ ->
Expand Down

0 comments on commit c98d658

Please sign in to comment.