Skip to content

Commit

Permalink
Nuget package updates mainly for IOC stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Treuting committed Mar 13, 2013
1 parent 1494998 commit 130c0f8
Show file tree
Hide file tree
Showing 13 changed files with 142 additions and 13 deletions.
3 changes: 3 additions & 0 deletions SharpRepository.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/FilterSettingsManager/CoverageFilterXml/@EntryValue">&lt;data&gt;&lt;IncludeFilters /&gt;&lt;ExcludeFilters /&gt;&lt;/data&gt;</s:String>
<s:String x:Key="/Default/FilterSettingsManager/AttributeFilterXml/@EntryValue">&lt;data /&gt;</s:String></wpf:ResourceDictionary>
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes>Initial release</releaseNotes>
<copyright>Copyright 2012</copyright>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository Cache</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
Expand All @@ -20,5 +20,6 @@
<files>
<file src="content\config.transform" target="content\app.config.transform"/>
<file src="content\config.transform" target="content\web.config.transform"/>
<file src="tools\Install.ps1" target="tools\Install.ps1"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes>Initial release</releaseNotes>
<copyright>Copyright 2012</copyright>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository Caching Memcached</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
Expand All @@ -20,5 +20,6 @@
<files>
<file src="content\config.transform" target="content\app.config.transform"/>
<file src="content\config.transform" target="content\web.config.transform"/>
<file src="tools\Install.ps1" target="tools\Install.ps1"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes></releaseNotes>
<copyright>Copyright 2012</copyright>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository Caching Redis</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
Expand All @@ -20,5 +20,6 @@
<files>
<file src="content\config.transform" target="content\app.config.transform"/>
<file src="content\config.transform" target="content\web.config.transform"/>
<file src="tools\Install.ps1" target="tools\Install.ps1"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes>Initial release</releaseNotes>
<copyright>Copyright 2012</copyright>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository EF5 EntityFramework</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
Expand All @@ -20,5 +20,6 @@
<files>
<file src="content\config.transform" target="content\app.config.transform"/>
<file src="content\config.transform" target="content\web.config.transform"/>
<file src="tools\Install.ps1" target="tools\Install.ps1"/>
</files>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes>Initial release</releaseNotes>
<copyright>Copyright 2012</copyright>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository InMemory</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
Expand All @@ -20,5 +20,6 @@
<files>
<file src="content\config.transform" target="content\app.config.transform"/>
<file src="content\config.transform" target="content\web.config.transform"/>
<file src="tools\Install.ps1" target="tools\Install.ps1"/>
</files>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>SharpRepository.Ioc.Autofac</id>
<version></version>
<title>SharpRepository with Autofac IoC</title>
<authors>Ben Griswold, Jeff Treuting, Fairway Technologies</authors>
<owners>jtreuting, bgriswold</owners>
<licenseUrl>https://github.com/SharpRepository/SharpRepository/blob/develop/license.txt</licenseUrl>
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository IoC Autofac</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>SharpRepository.Ioc.Ninject</id>
<version></version>
<title>SharpRepository with Ninject IoC</title>
<authors>Ben Griswold, Jeff Treuting, Fairway Technologies</authors>
<owners>jtreuting, bgriswold</owners>
<licenseUrl>https://github.com/SharpRepository/SharpRepository/blob/develop/license.txt</licenseUrl>
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository IoC Ninject</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>SharpRepository.Ioc.StructureMap</id>
<version></version>
<title>SharpRepository with StructureMap IoC</title>
<authors>Ben Griswold, Jeff Treuting, Fairway Technologies</authors>
<owners>jtreuting, bgriswold</owners>
<licenseUrl>https://github.com/SharpRepository/SharpRepository/blob/develop/license.txt</licenseUrl>
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository IoC StructureMap</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>SharpRepository.Ioc.Unity</id>
<version></version>
<title>SharpRepository with Unity IoC</title>
<authors>Ben Griswold, Jeff Treuting, Fairway Technologies</authors>
<owners>jtreuting, bgriswold</owners>
<licenseUrl>https://github.com/SharpRepository/SharpRepository/blob/develop/license.txt</licenseUrl>
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository IoC Unity</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>SharpRepository.Ioc.Windsor</id>
<version></version>
<title>SharpRepository with Windsor IoC</title>
<authors>Ben Griswold, Jeff Treuting, Fairway Technologies</authors>
<owners>jtreuting, bgriswold</owners>
<licenseUrl>https://github.com/SharpRepository/SharpRepository/blob/develop/license.txt</licenseUrl>
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes></releaseNotes>
<copyright>Copyright 2013</copyright>
<tags>SharpRepository Repository IoC Windsor</tags>
<dependencies>
<dependency id="SharpRepository.Repository" version="1.2.0.0" />
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
<projectUrl>https://github.com/SharpRepository/SharpRepository</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SharpRepository is a generic repository written in C# which includes support for various relational, document and object databases including Entity Framework, RavenDB, MongoDb and Db4o. SharpRepository includes Xml and InMemory repository implementations as well. SharpRepository offers built-in caching options for AppFabric, memcached and the standard System.Runtime.Caching. SharpRepository also supports Specifications, FetchStrategies, Batches and Traits.</description>
<releaseNotes>Initial release</releaseNotes>
<releaseNotes></releaseNotes>
<copyright>Copyright 2012</copyright>
<tags>SharpRepository Repository</tags>
</metadata>
<files>
<file src="content\config.transform" target="content\app.config.transform"/>
<file src="content\config.transform" target="content\web.config.transform"/>
<file src="tools\Install.ps1" target="tools\Install.ps1"/>
</files>
</package>
26 changes: 23 additions & 3 deletions nuget/nuget-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ foreach($directory in $directories)

# copy the nuspec file over to the main project directory because I only know how to create the nuget package from that diretory, but that's just me i think :)
Copy-Item $nuspec_path "..\$directory\$directory.nuspec"
Copy-Item ($directory.fullname + "\content\config.transform") "..\$directory\content\config.transform"

# see if there is a config transformation file
if (Test-Path ($directory.fullname + "\content\config.transform"))
{
Copy-Item ($directory.fullname + "\content\config.transform") "..\$directory\content\config.transform"
}

# see if there is a Install.ps1 to deal with
if (Test-Path ($directory.fullname + "\tools\Install.ps1"))
{
Copy-Item ($directory.fullname + "\tools\Install.ps1") "..\$directory\tools\Install.ps1"
}

# build the nuget package
#& "C\NuGet\nuget.exe pack ..\$directory\$directory.csproj -Prop Configuration=Release"
Expand All @@ -47,9 +58,18 @@ foreach($directory in $directories)
# move the nuget package back to the nuget directories
Move-Item "$cur_directory\$directory.$new_version.nupkg" "$dir_fullname\$directory.$new_version.nupkg"

# delete the nuspec file from the project directory
# delete the files that we copied over to have the paths be picked up automatically for packaging
Remove-Item "..\$directory\$directory.nuspec"
Remove-Item "..\$directory\content\config.transform"

if (Test-Path "..\$directory\content\config.transform")
{
Remove-Item "..\$directory\content\config.transform"
}

if (Test-Path "..\$directory\tools\Install.ps1")
{
Remove-Item "..\$directory\tools\Install.ps1"
}

# add the full path to the list of already processed directories, this is because the array for this loop has dups
$uniqueDirectories += $directory.fullname
Expand Down

0 comments on commit 130c0f8

Please sign in to comment.