Skip to content

Commit

Permalink
Merge pull request scriptcs#240 from jrusbatch/issues/239
Browse files Browse the repository at this point in the history
Fixes scriptcs#239: scriptcs Chocolatey package should depend on the NuGet.CommandLine package
  • Loading branch information
filipw committed May 12, 2013
2 parents 8ea6fe1 + 1bc41e7 commit 8d88933
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScriptCs/Properties/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"Roslyn.Compilers.CSharp" = "1.2.20906.2";
}

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

Get-ChildItem $nugetPath -Filter "*.dll" -Recurse | %{ Copy-Item $_.FullName $binPath -Force }
Remove-Item $nugetPath -Recurse -Force
Expand Down
4 changes: 4 additions & 0 deletions src/ScriptCs/Properties/scriptcs.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.ComponentModel.Composition" targetFramework="net45" />
</frameworkAssemblies>
<dependencies>
<dependency id="NuGet.CommandLine" version="2.5.0" />
</dependencies>
</metadata>
<files>
<file src="Properties\chocolateyInstall.ps1" target="tools" />
<file src="Properties\chocolateyUninstall.ps1" target="tools" />
<file src="bin\$configuration$\scriptcs.exe" target="tools/scriptcs" />
<file src="bin\$configuration$\scriptcs.exe.config" target="tools/scriptcs" />
<file src="bin\$configuration$\*.dll" target="tools/scriptcs" />
<file src="bin\$configuration$\*.pdb" target="tools/scriptcs" />
</files>
Expand Down

0 comments on commit 8d88933

Please sign in to comment.