Skip to content

Commit

Permalink
fix(typo): Use correct project-name var
Browse files Browse the repository at this point in the history
  • Loading branch information
bengreenier committed Oct 29, 2021
1 parent 16b27bf commit 6bf0299
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion single-crate/LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 {{gh_account}}
Copyright (c) 2021 {{gh-account}}

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
8 changes: 4 additions & 4 deletions single-crate/README.md
@@ -1,8 +1,8 @@
# {{project-name}}

[![CI](https://github.com/{{gh_account}}/{{project_name}}/actions/workflows/ci.yml/badge.svg)](https://github.com/{{gh_account}}/{{project_name}}/actions/workflows/ci.yml)
[![Crates.io](https://img.shields.io/crates/d/{{project_name}})](https://crates.io/crates/{{project_name}})
[![docs.rs](https://img.shields.io/docsrs/{{project_name}})](https://docs.rs/{{project_name}})
[![dependency status](https://deps.rs/repo/github/{{gh_account}}/{{project_name}}/status.svg)](https://deps.rs/repo/github/{{gh_account}}/{{project_name}})
[![CI](https://github.com/{{gh-account}}/{{project-name}}/actions/workflows/ci.yml/badge.svg)](https://github.com/{{gh-account}}/{{project-name}}/actions/workflows/ci.yml)
[![Crates.io](https://img.shields.io/crates/d/{{project-name}})](https://crates.io/crates/{{project-name}})
[![docs.rs](https://img.shields.io/docsrs/{{project-name}})](https://docs.rs/{{project-name}})
[![dependency status](https://deps.rs/repo/github/{{gh-account}}/{{project-name}}/status.svg)](https://deps.rs/repo/github/{{gh-account}}/{{project-name}})

{{description}}
2 changes: 1 addition & 1 deletion single-crate/cargo-generate.toml
Expand Up @@ -2,7 +2,7 @@
cargo_generate_version = ">=0.10.1"

[placeholders]
gh_account = {type = "string", prompt = "What GitHub account will own this project?"}
gh-account = {type = "string", prompt = "What GitHub account will own this project?"}
description = { type = "string", prompt = "Describe this crate:" }
version = {type = "string", prompt = "What's the starting version?", default = "0.1.0"}

Expand Down

0 comments on commit 6bf0299

Please sign in to comment.