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

Autoloading variables #10

Open
marcwieland95 opened this issue May 23, 2017 · 1 comment
Open

Autoloading variables #10

marcwieland95 opened this issue May 23, 2017 · 1 comment
Assignees
Labels

Comments

@marcwieland95
Copy link
Member

A variable can only be used once in a global context across multiple projects, this is because of the autoloading functionality build into enrol.
This behaviour could be very dangerous when using variables inside a deploy.zsh file to simplify the script, because it's possible that the script is reading a variable from a complete different project.

Variables need to be encapsulated or prefixed. Best solution would be a automatic one inside the autoload feature itself.

@marcwieland95
Copy link
Member Author

For now I leave a note inside readme file and provide accurate examples inside the boilerplate.
Doing it automatically isn't a easy task.

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

1 participant