bbito / onyx-webos-app

enyo-dev template based on the onyx-app template
4 stars 0 forks source link

Using evyo-dev to install via git includes git history and other extraneous files #1

Open bbito opened 5 years ago

bbito commented 5 years ago

When using the enyo-dev to install this template via: enyo templates install https://github.com/bbito/onyx-webos-app.git The entire git repo is cloned into the .enyo/templates/ folder this is a problem because we don't want our new app tied to the git repo for this template and do not want the .git folder or the README.md in our freshly init-ed project.

I can only come up with 2 workarounds: 1) After installing the template with enyo templates install https://github.com/bbito/onyx-webos-app.git go to the .enyo/templates/ and manually delete the extraneous folder and file.

2) Manually delete the extraneous folder and file after each project is init-ed, and before starting work on the project.

For now I will update the README.md to instruct how to do option #1

bbito commented 5 years ago

For now I will update the README.md to instruct how to do option #1

Well I decided to try to fix enyo-dev and made a PR for that: https://github.com/enyojs/enyo-dev/pull/48 During that exercise I decided that there are some benefits to cloning the full git repo into the .enyo/templates directory to allow identification of and contribution to the template itself. So unless and until the PR is approved I decided to add info about workaround #2 to the README.md