Skip to content

Don't put gleam@@compile.erl in the _gleam_artefacts dir #4474

Open
@Papipo

Description

@Papipo

While working on the Mix-Gleam integration I stumbled upon something unexpected.

It seems that gleam@@compile.erl is needed for compilation but once the compiler is done it might be cleaned up, as erlc isn't able to parse it and I think it will yield lots of warning anyway as it's not part of the application (unused functions).

What I want is to avoid hardcoding anything which might change in the future. For testing purposes I am just removing the file after compiling gleam and before compiling beam but I don't think that's ideal.

I don't know using the escript extension would help here, maybe mix skips that.

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