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

Eliminate Side Effects When Loading Files #169

Open
saulshanabrook opened this issue Oct 15, 2015 · 1 comment
Open

Eliminate Side Effects When Loading Files #169

saulshanabrook opened this issue Oct 15, 2015 · 1 comment

Comments

@saulshanabrook
Copy link
Collaborator

When we try to run lein check or lein doc it raises a bunch of exceptions, because the instruction files modify global state and the problem files actually try to run the problems, when they are loaded.

To fix this, it might make sense to eliminate global state and remove side effects from loading files.

@Vaguery
Copy link
Contributor

Vaguery commented Oct 19, 2015

This is also a problem with lein midje, since MIdje checks everything in /src and /test, and thus loads all those overlapping global doodads.

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

2 participants