-
Notifications
You must be signed in to change notification settings - Fork 63
NuGet Pack
Henrik edited this page Aug 21, 2014
·
1 revision
Create a NuGet package from a nuspec file.
desc "Create the nuget package"
nugetpack :pack => [:build] do |cmd|
cmd.nuspec = "path/to/nuspec"
cmd.base_path = "base/path"
cmd.output_directory = "path/to/out/dir"
cmd.symbols
endThis is the location of the nuspec file.
nuspec = "path/to/nuspec"Specifies the directory for the created NuGet file.
output_directory = "path/to/out/dir"The base path of the files defined in the nuspec file.
base_folder = "base/path"List of properties for this package (for templates).
properties = {:foo => "foo", :bar => "bar"}Generate a symbols package.
symbols(none)