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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support modifying Tuist's directories with environment variables #765

Merged
merged 2 commits into from Dec 7, 2019

Conversation

pepicrft
Copy link
Contributor

@pepicrft pepicrft commented Dec 7, 2019

Short description 馃摑

Some Tuist's features, like storing Tuist versions, interact with some global directories in the system. That makes it difficult to write deterministic acceptance tests because those directories might already contain some data that might cause the tests to fail.

Solution 馃摝

This PR makes the versions and the cache directories customizable through environment variables. Thanks to it we can set those variables from the acceptance tests and prevent Tuist from interacting with a shared space in the environment.

@pepicrft pepicrft self-assigned this Dec 7, 2019
@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2019

@pepibumur your pull request is missing a changelog!

@pepicrft pepicrft merged commit d550ef5 into master Dec 7, 2019
@pepicrft pepicrft deleted the env-directories branch December 7, 2019 17:45
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

Successfully merging this pull request may close these issues.

None yet

2 participants