Skip to content

Make the Elvis version configurable #14

@andrei-mihaila

Description

@andrei-mihaila

The current version installs an old (6 years old) version of Elvis. It would be nice if it installed a newer version (at the user's choice).

Also, that old version of Elvis is a compiled one and doesn't work with Erlang/OTP 25.

$ make elvis
 DEP    elvis_mk (1.0.0)
 GEN    /redacted-path/elvis
=ERROR REPORT==== 5-Aug-2022::19:27:30.125393 ===
beam/beam_load.c(148): Error loading module elvis:
  please re-compile this module with an Erlang/OTP 25 compiler


escript: exception error: undefined function elvis:main/1
  in function  escript:run/2 (escript.erl, line 750)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3 
make: *** [/redacted-path/deps/elvis_mk/plugins.mk:36: elvis] Error 127

There is a fix in #15 - but will probably need some improvements as it relies on rebar3 being available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions