-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use shared template ss-license (#79)
Signed-off-by: l.feng <[email protected]>
- Loading branch information
Showing
12 changed files
with
67 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
_commit: v0.0.1 | ||
_src_path: https://github.com/serious-scaffold/ss-license |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[%- set license_template = 'includes/licenses/' + copyright_license + '.jinja' -%] | ||
[%- set license_template = 'template/licenses/' + copyright_license + '.jinja' -%] | ||
[%- include license_template -%] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
ss_license_project_name: | ||
help: 'Enter the name of the project in CamelCase format:' | ||
type: str | ||
|
||
ss_license_project_description: | ||
help: 'Provide a brief description for the project:' | ||
type: str | ||
|
||
ss_license_copyright_license: | ||
choices: | ||
- Apache Software License | ||
- Boost Software License 1.0 (BSL-1.0) | ||
- GNU Affero General Public License v3 | ||
- GNU General Public License v3 (GPLv3) | ||
- GNU Lesser General Public License v3 (LGPLv3) | ||
- MIT License | ||
- Mozilla Public License 2.0 (MPL 2.0) | ||
- The Unlicense (Unlicense) | ||
help: Choose the project's license (e.g. "MIT", "GPL-3.0"). | ||
type: str | ||
|
||
ss_license_copyright_year: | ||
help: Enter the copyright year or range (e.g. "2023", "2023-2024"). | ||
type: str | ||
|
||
ss_license_copyright_holder: | ||
help: Name(s) or organization(s) holding the copyright. | ||
type: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
includes/licenses/MIT License.jinja → template/licenses/MIT License.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.