Just noticed that the “file” command on Macos reports elixir files as:
larry@habu lib % file json_api.ex
json_api.ex: Ruby script text, ASCII text
because there is no elixir file in /usr/share/file/magic. There is an erlang one, but it only identifies BEAM files. Source files are just shown as “ASCII text”.
Is there a /usr/share/file/magic file around somewhere that will identify elixir files correctly?
- Larry