Permalink
Browse files

Moving castle items to nuget packages. Not checking in the package fo…

…lder just yet. Started the setup command..
  • Loading branch information...
1 parent aaef159 commit 229579b01ccafb338210a74f83bdfaf2b3e4353d @ferventcoder ferventcoder committed Aug 5, 2011
View
@@ -2,6 +2,7 @@
.hg
build_output
code_drop
+packages
bin
obj
_ReSharper*
View
@@ -1,5 +1,4 @@
<?xml version="1.0" ?>
<uppercut>
- <version>1.3.1.0</version>
+ <version>1.4.0.0</version>
</uppercut>
-
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Castle.Core" version="1.1.0" />
+ <package id="Castle.DynamicProxy" version="2.1.0" />
+ <package id="Castle.Windsor" version="2.0.0.0" />
+</packages>
@@ -53,26 +53,21 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.Core.dll</HintPath>
+ <Reference Include="Castle.Core, Version=1.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Core.1.1.0\lib\Castle.Core.dll</HintPath>
</Reference>
- <Reference Include="Castle.DynamicProxy2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.DynamicProxy2.dll</HintPath>
+ <Reference Include="Castle.DynamicProxy2, Version=2.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.DynamicProxy.2.1.0\lib\Castle.DynamicProxy2.dll</HintPath>
</Reference>
- <Reference Include="Castle.MicroKernel, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.MicroKernel.dll</HintPath>
+ <Reference Include="Castle.MicroKernel, Version=2.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Windsor.2.0.0.0\lib\net35\Castle.MicroKernel.dll</HintPath>
</Reference>
- <Reference Include="Castle.Windsor, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.Windsor.dll</HintPath>
+ <Reference Include="Castle.Windsor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Windsor.2.0.0.0\lib\net35\Castle.Windsor.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\log4net\log4net.dll</HintPath>
- <Private>True</Private>
+ <HintPath>..\..\lib\NAnt\log4net.dll</HintPath>
</Reference>
<Reference Include="NAnt.Core, Version=0.86.3412.0, Culture=neutral">
<SpecificVersion>False</SpecificVersion>
@@ -127,6 +122,9 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Castle.Core" version="1.1.0" />
+ <package id="Castle.DynamicProxy" version="2.1.0" />
+ <package id="Castle.Windsor" version="2.0.0.0" />
+</packages>
@@ -57,29 +57,25 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\bdddoc\bdddoc.dll</HintPath>
</Reference>
- <Reference Include="Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.Core.dll</HintPath>
+ <Reference Include="Castle.Core, Version=1.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Core.1.1.0\lib\Castle.Core.dll</HintPath>
</Reference>
- <Reference Include="Castle.DynamicProxy2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.DynamicProxy2.dll</HintPath>
+ <Reference Include="Castle.DynamicProxy2, Version=2.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.DynamicProxy.2.1.0\lib\Castle.DynamicProxy2.dll</HintPath>
</Reference>
- <Reference Include="Castle.MicroKernel, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.MicroKernel.dll</HintPath>
+ <Reference Include="Castle.MicroKernel, Version=2.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Windsor.2.0.0.0\lib\net35\Castle.MicroKernel.dll</HintPath>
</Reference>
- <Reference Include="Castle.Windsor, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.Windsor.dll</HintPath>
+ <Reference Include="Castle.Windsor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Windsor.2.0.0.0\lib\net35\Castle.Windsor.dll</HintPath>
</Reference>
<Reference Include="developwithpassion.bdd, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\developwithpassion.bdd\developwithpassion.bdd.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\log4net\log4net.dll</HintPath>
+ <HintPath>..\..\lib\NAnt\log4net.dll</HintPath>
</Reference>
<Reference Include="MbUnit.Framework, Version=2.4.2.355, Culture=neutral, PublicKeyToken=b32731d11ce58905">
<SpecificVersion>False</SpecificVersion>
@@ -160,6 +156,9 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Castle.Core" version="1.1.0" />
+ <package id="Castle.DynamicProxy" version="2.1.0" />
+ <package id="Castle.Windsor" version="2.0.0.0" />
+</packages>
@@ -53,25 +53,21 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Castle.Core, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.Core.dll</HintPath>
+ <Reference Include="Castle.Core, Version=1.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Core.1.1.0\lib\Castle.Core.dll</HintPath>
</Reference>
- <Reference Include="Castle.DynamicProxy2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.DynamicProxy2.dll</HintPath>
+ <Reference Include="Castle.DynamicProxy2, Version=2.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.DynamicProxy.2.1.0\lib\Castle.DynamicProxy2.dll</HintPath>
</Reference>
- <Reference Include="Castle.MicroKernel, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.MicroKernel.dll</HintPath>
+ <Reference Include="Castle.MicroKernel, Version=2.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Windsor.2.0.0.0\lib\net35\Castle.MicroKernel.dll</HintPath>
</Reference>
- <Reference Include="Castle.Windsor, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\Castle\Castle.Windsor.dll</HintPath>
+ <Reference Include="Castle.Windsor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\Castle.Windsor.2.0.0.0\lib\net35\Castle.Windsor.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\log4net\log4net.dll</HintPath>
+ <HintPath>..\..\lib\NAnt\log4net.dll</HintPath>
</Reference>
<Reference Include="NAnt.Core, Version=0.86.3412.0, Culture=neutral">
<SpecificVersion>False</SpecificVersion>
@@ -142,6 +138,9 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
View
@@ -0,0 +1,4 @@
+@echo off
+SET DIR=%~dp0%
+%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& '%DIR%setup.ps1' %*"
+pause
View
@@ -0,0 +1,57 @@
+### install chocolatey ###
+$url = "http://packages.nuget.org/v1/Package/Download/Chocolatey/0.9.8.6"
+$tempDir = "$env:TEMP\chocolatey\chocInstall"
+if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
+$file = Join-Path $tempDir "chocolatey.zip"
+
+# download the package
+Write-Host "Downloading $url to $file"
+$downloader = new-object System.Net.WebClient
+$downloader.DownloadFile($url, $file)
+
+# unzip the package
+Write-Host "Extracting $file to $destination..."
+$shellApplication = new-object -com shell.application
+$zipPackage = $shellApplication.NameSpace($file)
+$destinationFolder = $shellApplication.NameSpace($tempDir)
+$destinationFolder.CopyHere($zipPackage.Items(),0x10)
+
+# call chocolatey install
+Write-Host "Installing chocolatey on this machine"
+$chocInstallPS1 = "$tempDir\tools\chocolateyInstall.ps1"
+& $chocInstallPS1
+### finish installing chocolatey ###
+
+# update chocolatey to the latest version
+Write-Host "Updating chocolatey to the latest version"
+cup chocolatey
+
+# install nuget if it is missing
+cinstm nuget.commandline
+
+#restore the nuget packages
+$nugetConfigs = Get-ChildItem '.\' -Recurse | ?{$_.name -match "packages\.config"} | select
+foreach ($nugetConfig in $nugetConfigs) {
+ Write-Host "restoring packages from $($nugetConfig.FullName)"
+ nuget install $($nugetConfig.FullName) /OutputDirectory packages
+}
+
+#TODO move tools contents to other folders and nuget.commandline moves to NuGet
+
+# install the uppercut libraries
+nuget install NuGet.Core -version 1.4.20609.9012 -OuptutDirectory 'lib' -x
+nuget install NuGet.CommandLine -version 1.4.20615.182 -OuptutDirectory 'lib' -x
+nuget install eazfuscator.net -version 2.9.41.774 -OuptutDirectory 'lib' -x
+nuget install nunit -version 2.5.9.10348 -OuptutDirectory 'lib' -x
+
+nuget install uppercut.bdddoc -version 1.5 -OuptutDirectory 'lib' -x
+nuget install uppercut.mbunit2 -version 1.5 -OuptutDirectory 'lib' -x
+nuget install uppercut.developwithpassion.bdd -version 1.5 -OuptutDirectory 'lib' -x
+nuget install uppercut.ilmerge -version 1.5 -OuptutDirectory 'lib' -x
+nuget install uppercut.moma -version 1.5 -OuptutDirectory 'lib' -x
+nuget install uppercut.nant -version 1.5 -OuptutDirectory 'lib' -x
+nuget install uppercut.ncover -version 1.5 -OuptutDirectory 'lib' -x
+nuget install uppercut.xunit -version 1.5 -OuptutDirectory 'lib' -x
+
+#FUTURE StorEvil
+

0 comments on commit 229579b

Please sign in to comment.