Skip to content

Support the status of EQC availability changing at runtime#30

Open
Vagabond wants to merge 2 commits intokellymclaughlin:masterfrom
Vagabond:dynamic-rebased
Open

Support the status of EQC availability changing at runtime#30
Vagabond wants to merge 2 commits intokellymclaughlin:masterfrom
Vagabond:dynamic-rebased

Conversation

@Vagabond
Copy link
Copy Markdown

@Vagabond Vagabond commented Jan 9, 2019

One problem with the current plugin is that if it's compiled before EQC is available, it won't work thereafter until you manually delete it and force it to be recompiled. This can happen quite a bit if you have several Erlang installs and switch between them, but don't have EQC installed in every one.

This PR allows the plugin to recompile itself if the status of EQC changes, when EQC is not available it tells you to install it and when EQC becomes available the plugin recompiles itself to reflect that.

Additionally this PR fixes an issue with coverdata from EQC tests being written.

Since EQC is a third party library that is usually installed into the
system path, often it's availability changes as the erlang version
changes or EQC is installed. The plugin adapts to these changes by
recompiling itself to match the current EQC status for the current
Erlang install and thus avoids having to manually clean up the plugin to
force it to recompile.
@kellymclaughlin
Copy link
Copy Markdown
Owner

Thanks, Andrew! Give me a couple of days to look over this and I'll get it merged and make a new release.

@Vagabond
Copy link
Copy Markdown
Author

#28 is actually quite similar but a lot less complicated (but the coverdata fix still seems useful).

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.

2 participants