(opts *NuPkgCreateOptions)
| 268 | } |
| 269 | |
| 270 | func shouldGenerateNuSpec(opts *NuPkgCreateOptions) bool { |
| 271 | return opts.Description.Value != "" || |
| 272 | opts.Title.Value != "" || |
| 273 | opts.ReleaseNotes.Value != "" || |
| 274 | opts.ReleaseNotesFile.Value != "" || |
| 275 | !util.Empty(opts.Author.Value) |
| 276 | } |
| 277 | |
| 278 | func GenerateNuSpec(opts *NuPkgCreateOptions) (string, error) { |
| 279 |