зеркало из https://github.com/github/go-spdx.git
add notification of generated code
This commit is contained in:
Родитель
848f7adb9a
Коммит
494d58bf2c
|
@ -51,6 +51,10 @@ func extractExceptionLicenseIDs() error {
|
||||||
// generate the GetExceptions() function in get_exceptions.go
|
// generate the GetExceptions() function in get_exceptions.go
|
||||||
getExceptionsContents := []byte(`package spdxlicenses
|
getExceptionsContents := []byte(`package spdxlicenses
|
||||||
|
|
||||||
|
// Code generated by go-spdx cmd/exceptions.go. DO NOT EDIT.
|
||||||
|
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.
|
||||||
|
|
||||||
|
// GetExceptions returns a slice of exception license IDs.
|
||||||
func GetExceptions() []string {
|
func GetExceptions() []string {
|
||||||
return []string{
|
return []string{
|
||||||
`)
|
`)
|
||||||
|
|
|
@ -56,6 +56,10 @@ func extractLicenseIDs() error {
|
||||||
// generate the GetLicenses() function in get_licenses.go
|
// generate the GetLicenses() function in get_licenses.go
|
||||||
getLicensesContents := []byte(`package spdxlicenses
|
getLicensesContents := []byte(`package spdxlicenses
|
||||||
|
|
||||||
|
// Code generated by go-spdx cmd/license.go. DO NOT EDIT.
|
||||||
|
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.
|
||||||
|
|
||||||
|
// GetLicenses returns a slice of active license IDs.
|
||||||
func GetLicenses() []string {
|
func GetLicenses() []string {
|
||||||
return []string{
|
return []string{
|
||||||
`)
|
`)
|
||||||
|
@ -76,6 +80,10 @@ func GetLicenses() []string {
|
||||||
// generate the GetDeprecated() function in get_deprecated.go
|
// generate the GetDeprecated() function in get_deprecated.go
|
||||||
getDeprecatedContents := []byte(`package spdxlicenses
|
getDeprecatedContents := []byte(`package spdxlicenses
|
||||||
|
|
||||||
|
// Code generated by go-spdx cmd/license.go. DO NOT EDIT.
|
||||||
|
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.
|
||||||
|
|
||||||
|
// GetDeprecated returns a slice of deprecated license IDs.
|
||||||
func GetDeprecated() []string {
|
func GetDeprecated() []string {
|
||||||
return []string{
|
return []string{
|
||||||
`)
|
`)
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
package spdxlicenses
|
package spdxlicenses
|
||||||
|
|
||||||
|
// Code generated by go-spdx cmd/license.go. DO NOT EDIT.
|
||||||
|
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.
|
||||||
|
|
||||||
|
// GetDeprecated returns a slice of deprecated license IDs.
|
||||||
func GetDeprecated() []string {
|
func GetDeprecated() []string {
|
||||||
return []string{
|
return []string{
|
||||||
"AGPL-1.0",
|
"AGPL-1.0",
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
package spdxlicenses
|
package spdxlicenses
|
||||||
|
|
||||||
|
// Code generated by go-spdx cmd/exceptions.go. DO NOT EDIT.
|
||||||
|
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.
|
||||||
|
|
||||||
|
// GetExceptions returns a slice of exception license IDs.
|
||||||
func GetExceptions() []string {
|
func GetExceptions() []string {
|
||||||
return []string{
|
return []string{
|
||||||
"389-exception",
|
"389-exception",
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
package spdxlicenses
|
package spdxlicenses
|
||||||
|
|
||||||
|
// Code generated by go-spdx cmd/license.go. DO NOT EDIT.
|
||||||
|
// Source: https://github.com/spdx/license-list-data specifies official SPDX license list.
|
||||||
|
|
||||||
|
// GetLicenses returns a slice of active license IDs.
|
||||||
func GetLicenses() []string {
|
func GetLicenses() []string {
|
||||||
return []string{
|
return []string{
|
||||||
"0BSD",
|
"0BSD",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче