build(.licensure.yml): Update to really be usable

This commit is contained in:
Benedikt Peetz 2023-12-23 18:56:06 +01:00
parent 22904c9bae
commit cc50ec2655
Signed by: bpeetz
GPG Key ID: A5E94010C3A642AD
1 changed files with 13 additions and 9 deletions

View File

@ -7,7 +7,9 @@ excludes:
- \.git/.* - \.git/.*
- \.licensure\.yml - \.licensure\.yml
- README.* - README.*
- LICENSE.* - LICENSE.spdx
- COPYING
- COPYING.LESSER
- .*\.(md|rst|txt|pdf) - .*\.(md|rst|txt|pdf)
# Definition of the licenses used on this project and to what files # Definition of the licenses used on this project and to what files
# they should apply. # they should apply.
@ -22,7 +24,7 @@ licenses:
# based on their file paths. # based on their file paths.
# #
# If "any" is provided all files will match this license. # If "any" is provided all files will match this license.
- files: rs - files: any
# #
# The license identifier, a list of common identifiers can be # The license identifier, a list of common identifiers can be
# found at: https://spdx.org/licenses/ but existence of the ident # found at: https://spdx.org/licenses/ but existence of the ident
@ -33,7 +35,7 @@ licenses:
# A list of authors who hold copyright over these files # A list of authors who hold copyright over these files
authors: authors:
# Provide either your full name or company name for copyright purposes # Provide either your full name or company name for copyright purposes
- name: Trinitrix project - name: The Trinitrix Project
# Optionally provide email for copyright purposes # Optionally provide email for copyright purposes
email: "soispha@vhack.eu, antifallobst@systemausfall.org" email: "soispha@vhack.eu, antifallobst@systemausfall.org"
# #
@ -47,12 +49,12 @@ licenses:
template: | template: |
Copyright (C) [year] [name of author] Copyright (C) [year] [name of author]
This file is part of Trixy. This file is part of the Trixy crate for Trinitrix.
Trixy is free software: you can redistribute it and/or modify Trixy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the Lesser GNU General Public License as
the Free Software Foundation, either version 3 of the License, or published by the Free Software Foundation, either version 3 of
(at your option) any later version. the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
@ -60,7 +62,8 @@ licenses:
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. and the Lesser GNU General Public License along with this program.
If not, see <https://www.gnu.org/licenses/>.
# #
# If auto_template is true then template is ignored and the SPDX # If auto_template is true then template is ignored and the SPDX
# API will be queried with the ident value to automatically # API will be queried with the ident value to automatically
@ -78,7 +81,7 @@ licenses:
# auto_template: true # auto_template: true
# #
# If true try to detect the text wrapping of the template, and unwrap it # If true try to detect the text wrapping of the template, and unwrap it
# unwrap_text: false unwrap_text: false
# Define type of comment characters to apply based on file extensions. # Define type of comment characters to apply based on file extensions.
comments: comments:
@ -103,6 +106,7 @@ comments:
- extensions: - extensions:
- rs - rs
- tri
- css - css
- cpp - cpp
- c - c