Permalink
Browse files

Shell projects, scripts and tools

  • Loading branch information...
damianh committed Apr 25, 2012
0 parents commit 9a81ef92386b3e78255623e92f83c4062ce26c21
Showing with 5,777 additions and 0 deletions.
  1. +19 −0 nuget/RavenDB.Client.ContextualListeners.nuspec
  2. +50 −0 scripts/default.ps1
  3. +5 −0 scripts/psake.ps1
  4. +663 −0 scripts/psake.psm1
  5. +6 −0 src/.nuget/NuGet.Config
  6. BIN src/.nuget/NuGet.exe
  7. +71 −0 src/.nuget/NuGet.targets
  8. +4 −0 src/Raven.Client.ContextualListeners/Properties/AssemblyInfo.cs
  9. +70 −0 src/Raven.Client.ContextualListeners/Raven.Client.ContextualListeners.csproj
  10. +6 −0 src/Raven.Client.ContextualListeners/packages.config
  11. +4 −0 src/Tests.Raven.Client.ContextualListeners/Properties/AssemblyInfo.cs
  12. +60 −0 src/Tests.Raven.Client.ContextualListeners/Tests.Raven.Client.ContextualListeners.csproj
  13. +4 −0 src/Tests.Raven.Client.ContextualListeners/packages.config
  14. +29 −0 tools/XUnitRunner/EULA.txt
  15. +128 −0 tools/XUnitRunner/HTML.xslt
  16. +121 −0 tools/XUnitRunner/NUnitXml.xslt
  17. BIN tools/XUnitRunner/Thumbs.db
  18. BIN tools/XUnitRunner/XUnitRunner.nupkg
  19. BIN tools/XUnitRunner/xunit.console.clr4.exe
  20. +21 −0 tools/XUnitRunner/xunit.console.clr4.exe.config
  21. BIN tools/XUnitRunner/xunit.console.clr4.x86.exe
  22. +21 −0 tools/XUnitRunner/xunit.console.clr4.x86.exe.config
  23. BIN tools/XUnitRunner/xunit.console.exe
  24. +21 −0 tools/XUnitRunner/xunit.console.exe.config
  25. BIN tools/XUnitRunner/xunit.console.x86.exe
  26. +21 −0 tools/XUnitRunner/xunit.console.x86.exe.config
  27. BIN tools/XUnitRunner/xunit.dll
  28. +5 −0 tools/XUnitRunner/xunit.dll.tdnet
  29. BIN tools/XUnitRunner/xunit.extensions.dll
  30. +797 −0 tools/XUnitRunner/xunit.extensions.xml
  31. BIN tools/XUnitRunner/xunit.gui.clr4.exe
  32. BIN tools/XUnitRunner/xunit.gui.clr4.x86.exe
  33. BIN tools/XUnitRunner/xunit.gui.exe
  34. BIN tools/XUnitRunner/xunit.gui.x86.exe
  35. BIN tools/XUnitRunner/xunit.installer.exe
  36. BIN tools/XUnitRunner/xunit.runner.msbuild.dll
  37. BIN tools/XUnitRunner/xunit.runner.tdnet.dll
  38. BIN tools/XUnitRunner/xunit.runner.utility.dll
  39. BIN tools/XUnitRunner/xunit.runner.utility.pdb
  40. +1,212 −0 tools/XUnitRunner/xunit.runner.utility.xml
  41. +2,439 −0 tools/XUnitRunner/xunit.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<package>
+ <metadata>
+ <id>RavenDB.Client.ContextualListeners</id>
+ <version>1.0</version>
+ <title>RavenDB Client that allows context to be passed into listeners</title>
+ <authors>Damian Hickey</authors>
+ <description>RavenDB.Client.ContextualListeners is a 3rd party bundle and not offically supported by Hibernating Rhinos.</description>
+ <language>en-US</language>
+ <licenseUrl>http://www.opensource.org/licenses/MIT</licenseUrl>
+ <projectUrl>https://github.com/damianh/RavenDB.Client.ContextualListeners</projectUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <tags>nosql ravendb raven document database client</tags>
+ <dependencies>
+ <dependency id="RavenDB.Client" version="" />
+ </dependencies>
+ <iconUrl>http://static.ravendb.net/logo-for-nuget.png</iconUrl>
+ </metadata>
+</package>
@@ -0,0 +1,50 @@
+properties {
+ $base_dir = resolve-path ..\
+ $build_dir = "$base_dir\build"
+ $src_dir = "$base_dir\src"
+ $sln_file = "$base_dir\src\RavenDB.Client.ContextualListeners.sln"
+ $version = "1.0"
+ $tools_dir = "$base_dir\tools"
+ $buildNumber = 0
+}
+
+task default -depends Release
+
+task Clean {
+ remove-item -force -recurse $build_dir -ErrorAction SilentlyContinue
+ exec { msbuild $sln_file /t:Clean }
+}
+
+task Compile -depends Clean {
+ exec { msbuild $sln_file /p:Configuration=Release }
+}
+
+task RunTests -depends Compile {
+ New-Item $build_dir -Type directory
+ .$tools_dir\XunitRunner\xunit.console.clr4.exe "$base_dir\src\Tests.Raven.Client.ContextualListeners\bin\Release\Tests.Raven.Client.ContextualListeners.dll" /html "$build_dir\index.html"
+}
+
+task BuildPackages -depends Compile{
+ New-Item $build_dir\RavenDB.Client.ContextualListeners\lib\net40 -Type directory | Out-Null
+ Copy-Item $base_dir\NuGet\RavenDB.Client.ContextualListeners.nuspec $build_dir\RavenDB.Client.ContextualListeners\RavenDB.Client.ContextualListeners.nuspec
+ @("Raven.Client.ContextualListeners.???") |% { Copy-Item "$src_dir\Raven.Client.ContextualListeners\bin\Release\$_" $build_dir\RavenDB.Client.ContextualListeners\lib\net40 }
+
+ $packagesConfig = [xml](Get-Content $base_dir\src\Raven.Client.ContextualListeners\packages.config)
+ $packagesConfig.packages.package | Where-Object {$_.id -eq "RavenDB.Client"} |% {$ravenDependencyVersion = $_.Version}
+ $packageVersion = $ravenDependencyVersion + "." + $buildNumber
+
+ $packages = Get-ChildItem $build_dir *.nuspec -recurse
+ $packages |% {
+ $nuspec = [xml](Get-Content $_.FullName)
+ $nuspec.package.metadata.version = $packageVersion
+ $nuspec | Select-Xml '//dependency' |% {
+ if($_.Node.Id.StartsWith('RavenDB')){
+ $_.Node.Version = "[$ravenDependencyVersion]"
+ }
+ }
+ $nuspec.Save($_.FullName);
+ &"$base_dir\src\.nuget\nuget.exe" pack $_.FullName -OutputDirectory $build_dir
+ }
+}
+
+task Release -depends RunTests, BuildPackages
@@ -0,0 +1,5 @@
+# Helper script for those who want to run
+# psake without importing the module.
+import-module .\psake.psm1
+invoke-psake @args
+remove-module psake
Oops, something went wrong.

0 comments on commit 9a81ef9

Please sign in to comment.