Skip to content

Commit 7b689c4

Browse files
author
James Gregory
committed
Use mspec from nuget
1 parent 48c0f2b commit 7b689c4

File tree

93 files changed

+434
-241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+434
-241
lines changed

RakeFile

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,6 @@ end
1010

1111
task :default => 'build:all'
1212

13-
namespace :setup do
14-
task :install_mspec, :resharper_version, :vs_version do |t, args|
15-
resharper_version = args[:resharper_version] || '5.1'
16-
vs_version = args[:vs_version] || 10.0
17-
puts 'Installing MSpec ReSharper runner'
18-
plugins = "#{ENV['APPDATA']}/JetBrains/ReSharper/v#{resharper_version}/vs#{vs_version}/Plugins"
19-
to_copy = ['Machine.Specifications', "Machine.Specifications.ReSharperRunner.#{resharper_version}"]
20-
21-
FileUtils.mkdir plugins unless File.exists? plugins
22-
to_copy.each do |f|
23-
FileUtils.cp "tools/mspec/#{f}.dll", plugins
24-
FileUtils.cp "tools/mspec/#{f}.pdb", plugins
25-
end
26-
end
27-
end
28-
2913
namespace :ci do
3014
task :run_ci_build => [
3115
'build:all',

src/FluentNHibernate.Specs/FluentNHibernate.Specs.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
<SpecificVersion>False</SpecificVersion>
5858
<HintPath>..\..\tools\NHibernate\Iesi.Collections.dll</HintPath>
5959
</Reference>
60-
<Reference Include="Machine.Specifications, Version=0.3.0.0, Culture=neutral, PublicKeyToken=5c474de7a495cff1, processorArchitecture=MSIL">
60+
<Reference Include="Machine.Specifications, Version=0.5.6.0, Culture=neutral, processorArchitecture=MSIL">
6161
<SpecificVersion>False</SpecificVersion>
62-
<HintPath>..\..\tools\mspec\Machine.Specifications.dll</HintPath>
62+
<HintPath>..\packages\Machine.Specifications.0.5.6.0\lib\net20\Machine.Specifications.dll</HintPath>
6363
</Reference>
6464
<Reference Include="NHibernate, Version=2.1.2.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
6565
<SpecificVersion>False</SpecificVersion>
@@ -201,6 +201,9 @@
201201
<Install>true</Install>
202202
</BootstrapperPackage>
203203
</ItemGroup>
204+
<ItemGroup>
205+
<None Include="packages.config" />
206+
</ItemGroup>
204207
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
205208
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
206209
Other similar extension points exist, see Microsoft.Common.targets.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Machine.Specifications" version="0.5.6.0" />
4+
</packages>
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<TestRunner>
2-
<FriendlyName>Machine.Specifications {0}.{1}.{2}</FriendlyName>
2+
<FriendlyName>Machine.Specifications 0.5.6-44343e6</FriendlyName>
33
<AssemblyPath>Machine.Specifications.TDNetRunner.dll</AssemblyPath>
44
<TypeName>Machine.Specifications.TDNetRunner.SpecificationRunner</TypeName>
55
</TestRunner>
Binary file not shown.

0 commit comments

Comments
 (0)