-
Notifications
You must be signed in to change notification settings - Fork 64
NuGet Install
Henrik edited this page Aug 21, 2014
·
1 revision
Install a NuGet package.
desc "Install required packages"
nugetinstall :install do |cmd|
cmd.package = "foo"
cmd.version = "1.0"
cmd.prerelease
end
The name of the nuget package to install.
package = "foo"
The version spec for this package.
version = "1.0"
The directory to download/install the package to.
output_directory = "path/to/packages"
The sources to query for the package.
sources = ["http://mycompany/nuget/feed"]
Disable using the machine cache.
no_cache
Allow prerelease packages to be installed.
prerelease
Only write the package name, not version, in the destination folder.
exclude_version
(none)