Skip to content

Commit adf46de

Browse files
committed
simplify tasks
1 parent 5e95fa0 commit adf46de

File tree

2 files changed

+4
-43
lines changed

2 files changed

+4
-43
lines changed

copier.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,7 @@ _exclude:
3939
_skip_if_exists:
4040
- pyproject.toml
4141
_tasks:
42-
- bash postgenerate.sh
42+
- "[ -d .git ] || poetry install -q"
43+
- "[ -d .git ] || git init -q && git add --all && git commit -qm 'initial commit'"
44+
- "[ -d .git ] || touch .envrc"
45+
- printf "To create your repo:\n\tgh repo create -y {{repo_username}}/{{repo_name}} {% if private %}--private{% else %}--public{% endif %}"

src/postgenerate.sh.jinja

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)