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

Don't change users bash_profile #23

Open
ScreamingDev opened this issue Dec 25, 2017 · 1 comment
Open

Don't change users bash_profile #23

ScreamingDev opened this issue Dec 25, 2017 · 1 comment

Comments

@ScreamingDev
Copy link

echo Adding definition of WP_TESTS_DIR var to ~/.bash_profile...
echo "export WP_TESTS_DIR='${wp_tests_dir}'" >> ~/.bash_profile

This is only needed for travis I guess.
I don't want it to append things to my bash profile everytime I scaffold a new project.

@JDGrimes
Copy link
Owner

You're right, this is probably something that isn't useful for everyone. I use a single WP instance to work on all of my plugins, so I just need one path defined globally. I guess adding the path to .bash_profile should be optional.

And maybe there is a better way of configuring the path other than a env var. I'm just following what core does there, I guess. Suggestions welcome.

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

No branches or pull requests

2 participants