Skip to content

Commit

Permalink
Provide default project name in task test
Browse files Browse the repository at this point in the history
  • Loading branch information
white-gecko committed Feb 14, 2024
1 parent c0acb92 commit f9fe756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f9fe756

Please sign in to comment.