Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bbito opened this issue Nov 24, 2018 · 1 comment

Comments

@bbito
Copy link
Owner

bbito commented Nov 24, 2018

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
Copy link
Owner Author

bbito commented Nov 26, 2018

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: enyojs/enyo-dev#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant