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

Handle erlang.mk dep_depname_commit format #19

Merged
merged 1 commit into from
Jan 12, 2016
Merged

Handle erlang.mk dep_depname_commit format #19

merged 1 commit into from
Jan 12, 2016

Conversation

jonasrichard
Copy link
Contributor

In erlang.mk one can specify a dep with repo type, url and commit.
But if it is a supported dep, it is enough to mention the commit
hash or name of the branch or the tag. Like

dep_myrepo = git [email protected]:jonasrichard/myrepo.git master
dep_jsx_commit = 2.8.0

In that case the dep variable will be suffixed with _commit.
Now elvis fails on them, since it is not a proper repo. This
commit fixes that, by filtering out the deps having _commit
suffix.

In erlang.mk one can specify a dep with repo type, url and commit.
But if it is a supported dep, it is enough to mention the commit
hash or name of the branch or the tag. Like

dep_myrepo = git [email protected]:jonasrichard/myrepo.git master
dep_jsx_commit = 2.8.0

In that case the dep variable will be suffixed with _commit.
Now elvis fails on them, since it is not a proper repo. This
commit fixes that, by filtering out the deps having _commit
suffix.
igaray added a commit that referenced this pull request Jan 12, 2016
Handle erlang.mk dep_depname_commit format
@igaray igaray merged commit 2280785 into inaka:master Jan 12, 2016
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