Skip to content

Commit

Permalink
feat: update rust template
Browse files Browse the repository at this point in the history
  • Loading branch information
upupnoah committed Jun 4, 2024
1 parent 4a131df commit 392577e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ cargo install cargo-nextest --locked
```

## 模版使用方法
1. cargo generate upupnoah/rust-template
2. 进入目录, 修改 cliff.toml 文件, 将 replace=后面的 URL 改为自己的仓库地址
1. cargo generate rust-noah/rust-template
2. 进入目录, 修改 cliff.toml 文件, 将 replace=后面的 URL 改为自己的仓库地址(需要先创建仓库)
3. pre-commit install
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ footer = """
trim = true
# postprocessors
postprocessors = [
{ pattern = '\$REPO', replace = "https://github.com/upupnoah/rust-template" }, # replace repository URL
{ pattern = '\$REPO', replace = "https://github.com/rust-noah/rust-template.git" }, # replace repository URL
]

[git]
Expand Down

0 comments on commit 392577e

Please sign in to comment.