Skip to content

Commit

Permalink
chore: rename repository to ss-cpp
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock committed Nov 9, 2023
1 parent 910a891 commit acc1b5a
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/cpp
{
"name": "cpp-scaffold",
"name": "ss-cpp",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"capAdd": [
// Enable ptrace-based debugging for C++
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ set(VCPKG_VERBOSE

# Project settings
project(
cpp-scaffold
ss-cpp
LANGUAGES CXX C
HOMEPAGE_URL "https://github.com/msclock/cpp-scaffold"
HOMEPAGE_URL "https://github.com/serious-scaffold/ss-cpp"
DESCRIPTION "A development-focused Cpp project template.")

set(CMAKE_CXX_STANDARD 20)
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ As usual:

- create a new branch: `git switch -c feature-or-bugfix-name`
- edit the code and/or the documentation
- run `copier copy --vcs-ref=HEAD -l . .` to generate the current cpp-scaffold.
- run `copier copy --vcs-ref=HEAD -l . .` to generate the current repository.
- run `pre-commit run -a` to check if any errors can be fixed.
- if everything is fine, your changes are ready to commit.

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022-2023 msclock
Copyright (c) 2022-2023 Serious Scaffold

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Cpp Scaffold
# SS Cpp

A development-focused Cpp project template.

[![GitHub CI Status](https://github.com/msclock/cpp-scaffold/actions/workflows/ci.yml/badge.svg)](https://github.com/msclock/cpp-scaffold/actions/workflows/ci.yml)
[![GitHub Release](https://img.shields.io/github/v/release/msclock/cpp-scaffold)](https://github.com/msclock/cpp-scaffold/releases)
[![GitHub License](https://img.shields.io/github/license/msclock/cpp-scaffold)](https://github.com/msclock/cpp-scaffold/blob/master/LICENSE)
[![GitHub CI Status](https://github.com/serious-scaffold/ss-cpp/actions/workflows/ci.yml/badge.svg)](https://github.com/serious-scaffold/ss-cpp/actions/workflows/ci.yml)
[![GitHub Release](https://img.shields.io/github/v/release/serious-scaffold/ss-cpp)](https://github.com/serious-scaffold/ss-cpp/releases)
[![GitHub License](https://img.shields.io/github/license/serious-scaffold/ss-cpp)](https://github.com/serious-scaffold/ss-cpp/blob/master/LICENSE)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![cpp Scaffold](https://img.shields.io/badge/cpp%20scaffold-c++-blue)](https://github.com/msclock/cpp-scaffold)
[![SS Cpp](https://img.shields.io/badge/Serious%20Scaffold-c++-blue)](https://github.com/serious-scaffold/ss-cpp)

## Features

Expand All @@ -24,7 +24,7 @@ A development-focused Cpp project template.
1. Generate the project.

```bash
copier copy gh:msclock/cpp-scaffold /path/to/project
copier copy gh:serious-scaffold/ss-cpp /path/to/project
```

2. Navigate to the project directory and initialize a git repository.
Expand All @@ -45,4 +45,4 @@ A development-focused Cpp project template.
## 📜 License
MIT License, for more details, see the [LICENSE](https://github.com/msclock/cpp-scaffold/blob/master/LICENSE) file.
MIT License, for more details, see the [LICENSE](https://github.com/serious-scaffold/ss-cpp/blob/master/LICENSE) file.
12 changes: 6 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: Cpp Scaffold
default: SS Cpp
help: 'Enter the name of the project in CamelCase format:'
type: str

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

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

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

author_email:
default: |
[%- if project_name == 'Cpp Scaffold' -%]
[%- if project_name == 'SS Cpp' -%]
msclock@126.com
[%- else -%]
{{ author_name }}@{{ organization_name|lower|replace(" ", "-") }}.com
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
This documentation was generated by Doxygen + Breathe

```{doxygenindex}
:project: cpp-scaffold_doxygen
:project: ss-cpp_doxygen
```
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

# -- Project information -----------------------------------------------------

project = "Cpp Scaffold"
copyright = "2022-2023 msclock"
project = "SS Cpp"
copyright = "2022-2023 Serious Scaffold"
author = "msclock"

# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Welcome to Cpp Scaffold's documentation
# Welcome to SS Cpp's documentation

```{toctree}
:hidden:
Expand Down
2 changes: 1 addition & 1 deletion template/.gitignore.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ ASALocalRun/
.nox
.mypy_cache

[% if repo_name == 'cpp-scaffold' -%]
[% if repo_name == 'ss-cpp' -%]
# Ignore things from copier
.copier-answers.yml
[%- endif %]
2 changes: 1 addition & 1 deletion template/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ As usual:

- create a new branch: `git switch -c feature-or-bugfix-name`
- edit the code and/or the documentation
- run `copier copy --vcs-ref=HEAD -l . .` to generate the current cpp-scaffold.
- run `copier copy --vcs-ref=HEAD -l . .` to generate the current repository.
- run `pre-commit run -a` to check if any errors can be fixed.
- if everything is fine, your changes are ready to commit.

Expand Down
6 changes: 3 additions & 3 deletions template/README.md.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
{{ release_badge() }}
{{ license_badge() }}
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
[![cpp Scaffold](https://img.shields.io/badge/cpp%20scaffold-c++-blue)](https://github.com/msclock/cpp-scaffold)
[![SS Cpp](https://img.shields.io/badge/Serious%20Scaffold-c++-blue)](https://github.com/serious-scaffold/ss-cpp)

[% if repo_name == 'cpp-scaffold' -%]
[% if repo_name == 'ss-cpp' -%]
## Features

- Project setup and template update with [copier](https://github.com/copier-org/copier/).
Expand All @@ -29,7 +29,7 @@
1. Generate the project.

```bash
copier copy gh:msclock/cpp-scaffold /path/to/project
copier copy gh:{{ repo_namespace }}/ss-cpp /path/to/project
```

2. Navigate to the project directory and initialize a git repository.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
```{toctree}
:hidden:
Overview <self>
[% if repo_name == 'cpp-scaffold' -%]
[% if repo_name == 'ss-cpp' -%]
cmake_workflow
[% endif -%]
changelog
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "cpp-scaffold",
"name": "ss-cpp",
"description": "A development-focused Cpp project template.",
"builtin-baseline": "cc97b4536ae749ec0e4f643488b600b217540fb3",
"dependencies": [
Expand Down

0 comments on commit acc1b5a

Please sign in to comment.