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
Clash with alex in haskell #83
Comments
FWIW we actually do want to use your alex and the alex haskell lexer in our CI. |
I’m not sure why it’s the task of this alex to name itself differently? (side note: the name Sure, it’s possible to add another link, but I feel it’s like feature creep. I think I’ve suggested this before to Coala: instead of using If you’re using |
The usecase is that we actually want to use both alex binaries in one run. So global installation or not, if we modify the path we can still only use one of them, right? |
(FWIW we're using the non global installation of alex by now :)) |
Yeah, I understand, either adding a new (symlinked) binary or my proposed solution would work for that, but my suggestion would have nice benefits (like better version control, so if a new version of remark or Alex is published it won't affect coala.) |
Ah you mean specifying the whole path to alex without using PATH at all. Sorry, didn't get that. It's not feasible for users though... they'd have to give the path to alex which is system dependent. |
Yes, no $PATH, just a local reference to Why would users have to specify that location? You can specify it directly in your code, and there’s no differences between systems (other than |
@AbdealiJK that's a feasible solution, similar to how we do it with checkstyle. @wooorm sorry for being so stubborn and stupid. :P |
@sils1297 Wait, what is @AbdealiJK’s solution? Does this mean this I can close this? |
Yeah I think considering your opinions you should close this. |
OK, great! Please let me know if I can help in any other way 👍 |
We will, you know us :) 2016-02-22 22:42 GMT+01:00 Titus Wormer notifications@github.com:
|
Haha 👌 |
But if we specify Nor would it work if the user runs |
I just now saw that users have to manually install the npm dependencies. |
@wooorm At the moment we do not do that - we may support it later. There are issues that arise when doing something like that, and it's generally better to use existing libraries in my opinion. Either way (removing coala out of the equation) - I still think you should consider making a |
@AbdealiJK I think it's more awkward for users to have to install 6+ packages when they want to use coala, whereas with the by me proposed solution, they would Install coala and be done with it. This problem isn't just alex, or remark, it will arise more and more if there are other 'bears' added. I'm not going to rename remark or alex: I cannot control if some other package is created in the future, pics one of these names (or if I do that, by accident), and becomes popular. |
We were adding haskell linter support for coala (https://github.com/coala-analyzer/coala) and found that there was a clash with another package named
alex
in ghc (haskell).It seems we need
alex
from haskell as a dependency for our build - and this clash is a little annoying, as we can only use one of these packages at a time.Is it possible to make an alias of your alex to
alex.js
oralexjs
? So that we can simply runalexjs
to run your package andalex
for the other ?I'm sure it'd help with https://github.com/wooorm/alex/issues/58 too as CIs (Travis and circleci) seem to have this haskell's alex installed already.
The text was updated successfully, but these errors were encountered: