Skip to content

Commit 6377c5d

Browse files
committed
rename all yml to yaml
1 parent 0d93dcc commit 6377c5d

36 files changed

Lines changed: 29 additions & 29 deletions

Makefile

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@ endif
2020

2121
.PHONY: gen-python gen-cpp gen-js gen-jupyter gen-rust
2222
gen-python: ## regenerate the python template from scratch
23-
mkdir -p ../python-template && cd ../python-template && rm -rf ./* && rm -rf .copier-answers.yml .gitignore .github .gitattributes
24-
copier copy -w . ../python-template --data-file examples/python.yml
25-
cd ../python-template && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yml
23+
mkdir -p ../python-template && cd ../python-template && rm -rf ./* && rm -rf .copier-answers.yaml .gitignore .github .gitattributes
24+
copier copy -w . ../python-template --data-file examples/python.yaml
25+
cd ../python-template && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yaml
2626

2727
gen-cpp: ## regenerate the c++ template from scratch
28-
mkdir -p ../python-template-cpp && cd ../python-template-cpp && rm -rf ./* && rm -rf .copier-answers.yml .gitignore .github .gitattributes
29-
copier copy -w . ../python-template-cpp --data-file examples/cpp.yml
30-
cd ../python-template-cpp && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yml
28+
mkdir -p ../python-template-cpp && cd ../python-template-cpp && rm -rf ./* && rm -rf .copier-answers.yaml .gitignore .github .gitattributes
29+
copier copy -w . ../python-template-cpp --data-file examples/cpp.yaml
30+
cd ../python-template-cpp && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yaml
3131

3232
gen-js: ## regenerate the js template from scratch
33-
mkdir -p ../python-template-js && cd ../python-template-js && rm -rf ./* && rm -rf .copier-answers.yml .gitignore .github .gitattributes
34-
copier copy -w . ../python-template-js --data-file examples/js.yml
35-
cd ../python-template-js && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yml
33+
mkdir -p ../python-template-js && cd ../python-template-js && rm -rf ./* && rm -rf .copier-answers.yaml .gitignore .github .gitattributes
34+
copier copy -w . ../python-template-js --data-file examples/js.yaml
35+
cd ../python-template-js && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yaml
3636

3737
gen-jupyter: ## regenerate the jupyter template from scratch
38-
mkdir -p ../python-template-jupyter && cd ../python-template-jupyter && rm -rf ./* && rm -rf .copier-answers.yml .gitignore .github .gitattributes
39-
copier copy -w . ../python-template-jupyter --data-file examples/jupyter.yml
40-
cd ../python-template-jupyter && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yml
38+
mkdir -p ../python-template-jupyter && cd ../python-template-jupyter && rm -rf ./* && rm -rf .copier-answers.yaml .gitignore .github .gitattributes
39+
copier copy -w . ../python-template-jupyter --data-file examples/jupyter.yaml
40+
cd ../python-template-jupyter && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yaml
4141

4242
gen-rust: ## regenerate the rust template from scratch
43-
mkdir -p ../python-template-rust && cd ../python-template-rust && rm -rf ./* && rm -rf .copier-answers.yml .gitignore .github .gitattributes
44-
copier copy -w . ../python-template-rust --data-file examples/rust.yml
45-
cd ../python-template-rust && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yml
43+
mkdir -p ../python-template-rust && cd ../python-template-rust && rm -rf ./* && rm -rf .copier-answers.yaml .gitignore .github .gitattributes
44+
copier copy -w . ../python-template-rust --data-file examples/rust.yaml
45+
cd ../python-template-rust && $(SED) 's#_src_path: .#_src_path: https://github.com/python-project-templates/base.git#g' ./.copier-answers.yaml
4646

4747
.PHONY: test-python test-cpp test-js test-jupyter test-rust
4848
test-python:

cpp/README.md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{{project_description}}
44

5-
[![Build Status](https://github.com/{{github}}/{{project_name_formatted}}/actions/workflows/build.yml/badge.svg?branch=main&event=push)](https://github.com/{{github}}/{{project_name_formatted}}/actions/workflows/build.yml)
5+
[![Build Status](https://github.com/{{github}}/{{project_name_formatted}}/actions/workflows/build.yaml/badge.svg?branch=main&event=push)](https://github.com/{{github}}/{{project_name_formatted}}/actions/workflows/build.yaml)
66
[![codecov](https://codecov.io/gh/{{github}}/{{project_name_formatted}}/branch/main/graph/badge.svg)](https://codecov.io/gh/{{github}}/{{project_name_formatted}})
77
[![License](https://img.shields.io/github/license/{{github}}/{{project_name_formatted}})](https://github.com/{{github}}/{{project_name_formatted}})
88
[![PyPI](https://img.shields.io/pypi/v/{{project_name_formatted}}.svg)](https://pypi.python.org/pypi/{{project_name_formatted}})

cpp/pyproject.toml.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ replace = 'version = "{new_version}"'
6969

7070
[tool.check-manifest]
7171
ignore = [
72-
".copier-answers.yml",
72+
".copier-answers.yaml",
7373
".clang-format",
7474
"Makefile",
7575
"docs/**/*",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)