WhatsApp / eqwalizer

A type-checker for Erlang
Apache License 2.0
506 stars 27 forks source link

Some questions #13

Closed tothlac closed 1 year ago

tothlac commented 1 year ago

We would like to use eqwalizer on many of our repositories. We have about 200 of them.

I have some questions:

ilya-klyuchnikov commented 1 year ago

It turns out that eqWAlizer works with OTP 23 and 24 - we would need to provide corresponding builds in downloads. Please expect them next week.

how can I debug? I would like to compile eqwalizer so then I would able to print what it is doing inside, but I could not figure out how to compile to get an elp binary.

You can look into GH CI steps to repro builds locally:

tothlac commented 1 year ago

Thanks for the quick answer. I will try to locally compile it from source. What about elixir support? Do you plan to add support for elixir? If not what should be done? One more question: when I run elp equalize-all it compiles all the dependencies. On our jenkins servers when it reaches that phase everything has been compiled by that time, so compiling is not necessary. Would it possible to add a --compile=false option with a default value of true?

sopotc commented 1 year ago

Wrt to elixir it is elaborated a bit (not much) more in this podcast at 29:30.

ilya-klyuchnikov commented 1 year ago

The latest release has now elp-linux-otp-23.tar.gz artefact which is runnable on Linux with OTP 23. (And is also runnable with OTP 24 and 25).

https://github.com/WhatsApp/eqwalizer/releases/tag/v0.13.18

tothlac commented 1 year ago

I've tried it, and it works on linux quite well. Unfortunately I've macos. Do you plan to release it for that osx as well?

ilya-klyuchnikov commented 1 year ago

Do you plan to release it for that osx as well?

yes, - we can do this

tothlac commented 1 year ago

Thanks, that would be good.

ilya-klyuchnikov commented 1 year ago

We now provide OTP-23 compatible builds for both linux and mac. See https://github.com/WhatsApp/eqwalizer/releases/tag/v0.15.13

ilya-klyuchnikov commented 1 year ago

closing, OTP-23 compatible builds are provided now