Skip to content

Commit

Permalink
docs: add full name in README
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock committed Dec 1, 2023
1 parent 76326f4 commit c5192b6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SS Cpp
# Serious Scaffold Cpp

A development-focused Cpp project template.

Expand Down
17 changes: 11 additions & 6 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ _message_after_update: |
you're done.
project_name:
default: SS Cpp
default: Serious Scaffold Cpp
help: 'Enter the name of the project in CamelCase format:'
type: str

project_description:
default: |
[%- if project_name == 'SS Cpp' -%]
[%- if project_name == 'Serious Scaffold Cpp' -%]
A development-focused Cpp project template.
[%- endif -%]
help: 'Provide a brief description for the project:'
Expand All @@ -53,15 +53,15 @@ copyright_year:

author_name:
default: |
[%- if project_name == 'SS Cpp' -%]
[%- if project_name == 'Serious Scaffold Cpp' -%]
msclock
[%- endif -%]
help: 'Specify the name of the author:'
type: str

organization_name:
default: |
[%- if project_name == 'SS Cpp' -%]
[%- if project_name == 'Serious Scaffold Cpp' -%]
Serious Scaffold
[%- endif -%]
help: 'Provide the name of the organization associated with the project:'
Expand All @@ -74,7 +74,7 @@ copyright_holder:

author_email:
default: |
[%- if project_name == 'SS Cpp' -%]
[%- if project_name == 'Serious Scaffold Cpp' -%]
msclock@126.com
[%- else -%]
{{ author_name }}@{{ organization_name|lower|replace(" ", "-") }}.com
Expand Down Expand Up @@ -114,7 +114,12 @@ repo_namespace:
type: str

repo_name:
default: '{{ project_name|lower|replace(" ", "-") }}'
default: |-
[% if project_name == 'Serious Scaffold Cpp' -%]
ss-cpp
[%- else -%]
{{ project_name|lower|replace(" ", "-") }}
[%- endif %]
help: 'Provide a name for the repository:'
type: str

Expand Down

0 comments on commit c5192b6

Please sign in to comment.