erlangrebarrebar3gleam

rebar3 does not compile anything in `src` directory


I would expect an error to happen or something in the build folder to show up. Here is my rebar.config:

{plugins, [
    {rebar3_gleam, "1.0.0"}
]}.

{provider_hooks, [
    {pre, [{compile, {gleam, compile}}]}
]}.

When I run rebar3 compile, I just see:

===> Verifying dependencies...

that's it. And no _build directory is created :( I would expect an error, or something to happen....

enter image description here

I tried, using the DIAGNOSTICS=1 option:

enter image description here

Still nothing, hot garbage


Solution

  • Rebar3 has no support for compiling Gleam. To compile Gleam you'll most likely want to use the Gleam build tool which is built into the gleam binary.