Permalink
Browse files

Merge pull request #2410 from fsprojects/refactor_nuget

Refactor nuget
  • Loading branch information...
matthid committed Jun 10, 2017
2 parents 065914c + 8c93d72 commit 81e5673f938c987fab1fd0e02e148bd0b712693b
@@ -95,7 +95,7 @@ let ``#1429 pack deps from template``() =
paket ("pack output \"" + outPath + "\" templatefile " + templatePath) "i001429-pack-deps" |> ignore
let details =
NuGetV2.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
NuGetLocal.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
|> Async.RunSynchronously
details |> getDependencies |> List.map (fun (x,_,_) -> x) |> shouldContain (PackageName "MySql.Data")
@@ -111,7 +111,7 @@ let ``#1429 pack deps``() =
paket ("pack output \"" + outPath + "\"") "i001429-pack-deps" |> ignore
let details =
NuGetV2.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
NuGetLocal.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
|> Async.RunSynchronously
details |> getDependencies |> List.map (fun (x,_,_) -> x) |> shouldContain (PackageName "MySql.Data")
@@ -127,7 +127,7 @@ let ``#1429 pack deps using minimum-from-lock-file``() =
paket ("pack minimum-from-lock-file output \"" + outPath + "\"") "i001429-pack-deps-minimum-from-lock" |> ignore
let details =
NuGetV2.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
NuGetLocal.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
|> Async.RunSynchronously
details |> getDependencies |> List.map (fun (x,_,_) -> x) |> shouldContain (PackageName "MySql.Data")
@@ -143,7 +143,7 @@ let ``#1429 pack deps without minimum-from-lock-file uses dependencies file rang
paket ("pack output \"" + outPath + "\"") "i001429-pack-deps-minimum-from-lock" |> ignore
let details =
NuGetV2.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
NuGetLocal.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
|> Async.RunSynchronously
details |> getDependencies |> List.map (fun (x,_,_) -> x) |> shouldContain (PackageName "MySql.Data")
@@ -159,7 +159,7 @@ let ``#1429 pack deps without minimum-from-lock-file uses specifc dependencies f
paket ("pack output \"" + outPath + "\"") "i001429-pack-deps-specific" |> ignore
let details =
NuGetV2.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
NuGetLocal.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
|> Async.RunSynchronously
details |> getDependencies |> List.map (fun (x,_,_) -> x) |> shouldContain (PackageName "MySql.Data")
@@ -175,7 +175,7 @@ let ``#1429 pack deps with minimum-from-lock-file uses specifc dependencies file
paket ("pack minimum-from-lock-file output \"" + outPath + "\"") "i001429-pack-deps-specific" |> ignore
let details =
NuGetV2.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
NuGetLocal.getDetailsFromLocalNuGetPackage false None outPath "" (PackageName "PaketBug") (SemVer.Parse "1.0.0.0")
|> Async.RunSynchronously
details |> getDependencies |> List.map (fun (x,_,_) -> x) |> shouldContain (PackageName "MySql.Data")
@@ -38,9 +38,11 @@
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\DependenciesTypes.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\PackageResolver.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\Nuspec.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\Nuget.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\NuGetCache.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\NuGetV3.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\NuGetV2.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\NuGetLocal.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\NuGet.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Dependencies\DependenciesFileParser.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PaketConfigFiles\RuntimeGraph.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PaketConfigFiles\InstallModel.fs" />

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 81e5673

Please sign in to comment.