pkg.nuspec (1464B)
1 <?xml version="1.0"?> 2 <package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 3 <metadata> 4 <id>{{.Choco.ID}}</id> 5 <title>{{.Choco.Title}}</title> 6 <version>{{.VersionOk}}</version> 7 <authors>{{.Choco.Authors}}</authors> 8 <owners>{{.Choco.Owners}}</owners> 9 <description>{{.Choco.Description}}</description> 10 {{if gt (.Choco.ProjectURL | len) 0}} 11 <projectUrl>{{.Choco.ProjectURL}}</projectUrl> 12 {{end}} 13 {{if gt (.Choco.Tags | len) 0}} 14 <tags>{{.Choco.Tags}}</tags> 15 {{end}} 16 {{if gt (.Choco.LicenseURL | len) 0}} 17 <licenseUrl>{{.Choco.LicenseURL}}</licenseUrl> 18 {{end}} 19 {{if gt (.Choco.IconURL | len) 0}} 20 <iconUrl>{{.Choco.IconURL}}</iconUrl> 21 {{end}} 22 {{if gt (.Choco.ChangeLog | len) 0}} 23 <releaseNotes>{{.Choco.ChangeLog}}</releaseNotes> 24 {{end}} 25 {{if .Choco.RequireLicense}} 26 <requireLicenseAcceptance>true</requireLicenseAcceptance> 27 {{else}} 28 <requireLicenseAcceptance>false</requireLicenseAcceptance> 29 {{end}} 30 </metadata> 31 <files> 32 <file src="{{.Choco.BuildDir}}\chocolateyInstall.ps1" target="tools" /> 33 <file src="{{.Choco.BuildDir}}\chocolateyUninstall.ps1" target="tools" /> 34 <file src="{{.Choco.BuildDir}}\{{.Choco.MsiFile}}" target="tools" /> 35 <file src="{{.Choco.BuildDir}}\LICENSE.txt" target="tools" /> 36 <file src="{{.Choco.BuildDir}}\VERIFICATION.txt" target="tools" /> 37 </files> 38 </package>