From f9fe7565279e3c843bcd50534cf30a27db349e90 Mon Sep 17 00:00:00 2001 From: Natanael Arndt Date: Wed, 14 Feb 2024 23:51:06 +0100 Subject: [PATCH] Provide default project name in task test --- CHANGELOG.md | 2 ++ Taskfile.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a7bbc8..eccdd7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ TODO: add at least one Added, Changed, Deprecated, Removed, Fixed or Security se ### Fixed +- Fix `task test` to also have a default project name + ### Changed ## [0.2.1] 2024-02-14 diff --git a/Taskfile.yml b/Taskfile.yml index 1616190..32291c3 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -26,7 +26,7 @@ tasks: TEMPLATE_REVISION: sh: git rev-parse HEAD cmds: - - copier copy --vcs-ref {{.TEMPLATE_REVISION}} --defaults . {{.ONTOLOGY_DIR}} + - copier copy --vcs-ref {{.TEMPLATE_REVISION}} --defaults -d 'project_name=Test Project' . {{.ONTOLOGY_DIR}} - git init {{.ONTOLOGY_DIR}} - cd {{.ONTOLOGY_DIR}} && git add . - cd {{.ONTOLOGY_DIR}} && git -c init.defaultBranch main -c user.name="{{.GIT_USER_NAME}}" -c user.email="{{.GIT_USER_EMAIL}}" commit -m "init from template"