Skip to content

Commit

Permalink
Merge branch 'dev' into fix-package-references
Browse files Browse the repository at this point in the history
  • Loading branch information
khellang committed Apr 10, 2013
2 parents a0e494a + ef0f938 commit 81eb8e2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/ScriptCs/Properties/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@

Write-Host "Retrieving NuGet dependencies..." -ForegroundColor DarkYellow

"NuGet.Core","Autofac.Mef","Roslyn.Compilers.CSharp","PowerArgs" | %{ .$nuget install $_ -o $nugetPath -nocache } | Out-Null
$dependencies = @{
"NuGet.Core" = "2.2.0";
"Autofac.Mef" = "3.0.0";
"Roslyn.Compilers.CSharp" = "1.2.20906.2";
"PowerArgs" = "1.4.0.0";
}

$dependencies.GetEnumerator() | %{ .$nuget install $_.Name -version $_.Value -o $nugetPath -nocache } | Out-Null

Get-ChildItem $nugetPath -Filter "*.dll" -Recurse | %{ Copy-Item $_.FullName $binPath -Force }
Remove-Item $nugetPath -Recurse -Force
Expand Down

0 comments on commit 81eb8e2

Please sign in to comment.