diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-01-24 00:19:49 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-01-29 10:38:39 -0800 |
commit | f1fa342808d2b40d3380b30a3b48dc65ea93c9d4 (patch) | |
tree | d6bb06e66324c4a1b6cd2c6fe3a342a8767b4cb9 /src/DotNetOpenAuth.BuildTasks/NuGetPack.cs | |
parent | af677bf167c52727f8e0d38c5939a42eb4b32e15 (diff) | |
download | DotNetOpenAuth-f1fa342808d2b40d3380b30a3b48dc65ea93c9d4.zip DotNetOpenAuth-f1fa342808d2b40d3380b30a3b48dc65ea93c9d4.tar.gz DotNetOpenAuth-f1fa342808d2b40d3380b30a3b48dc65ea93c9d4.tar.bz2 |
NuGet symbol packages are also created now.
Fixes #60
Diffstat (limited to 'src/DotNetOpenAuth.BuildTasks/NuGetPack.cs')
-rw-r--r-- | src/DotNetOpenAuth.BuildTasks/NuGetPack.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.BuildTasks/NuGetPack.cs b/src/DotNetOpenAuth.BuildTasks/NuGetPack.cs index 1b13ad2..91365e5 100644 --- a/src/DotNetOpenAuth.BuildTasks/NuGetPack.cs +++ b/src/DotNetOpenAuth.BuildTasks/NuGetPack.cs @@ -40,6 +40,11 @@ namespace DotNetOpenAuth.BuildTasks { public string Properties { get; set; } /// <summary> + /// Gets or sets a value indicating whether to generate a symbols nuget package. + /// </summary> + public bool Symbols { get; set; } + + /// <summary> /// Returns the fully qualified path to the executable file. /// </summary> /// <returns> @@ -86,6 +91,9 @@ namespace DotNetOpenAuth.BuildTasks { args.AppendSwitchIfNotNull("-BasePath ", this.BaseDirectory); args.AppendSwitchIfNotNull("-OutputDirectory ", this.OutputPackageDirectory); args.AppendSwitchIfNotNull("-Properties ", this.Properties); + if (this.Symbols) { + args.AppendSwitch("-Symbols"); + } return args.ToString(); } |