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

Templates path #2

Open
aquilax opened this issue Jul 20, 2013 · 2 comments
Open

Templates path #2

aquilax opened this issue Jul 20, 2013 · 2 comments
Labels

Comments

@aquilax
Copy link
Contributor

aquilax commented Jul 20, 2013

The templates path is hardcoded in config go:

GOBIPATH    = filepath.Join(SRCPATH, GITHUB, "fern4lvarez", "gobi")

Maybe it's a better idea to keep the templates is user's home directory. Something like ~/.gobi to make them universally available.

@fern4lvarez
Copy link
Owner

This path is actually the gobi's path itself, not only for templates but for the VERSION too. I agree is not the best choice to have the username harcoded, specially for people who forked the repo (this is an actual bug).
Anyway I'm not really into the idea of have the templates out of the project, since I think templates are a basic part of the repository.

I'm open to suggestions though, what would be your approach to get the templates on, let's say, ~/.gobi when someone go get the project?

@fern4lvarez
Copy link
Owner

See #4

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

No branches or pull requests

2 participants