vala-lang / valdo

Create new Vala projects from templates
GNU Lesser General Public License v2.1
52 stars 14 forks source link

Optional git repo creation #13

Closed pervoj closed 3 years ago

pervoj commented 3 years ago

Would it be possible to add a bool parameter create_git_repo to Valdo.TemplateEngine.apply_template() and put the repository creation in an if condition? It relates to pervoj/valdo-gtk#3. When running the app from Flatpak, it doesn't have access to the git command. But it is possible to create the .git directory structure manually from code. However, there is an unwanted error message from Valdo about an error when creating the repository.

Prince781 commented 3 years ago

This issue should be closed by #15