Papipo
Request for testers: Gleam support in Mix
Hi!
I have a PR on the elixir repo that adds support for gleam in Mix.
There you’ll find the instructions to test the feature before it’s released. It will allow you to add gleam path dependencies in your mix.exs file without the need for the mix_gleam archive.
Please try it out and report back with your findings, if any.
Thanks,
Rodrigo.
Most Liked
Papipo
I have pushed a new possible fix for all this stuff
Papipo
They said:
If you’re using the compile-package API it does not because it cannot tell all the beam modules until after they are compiled, but that’s not the job of Gleam in that case.
And I can’t just create a minimal one because
It would be incorrect if there are Elixir modules in the package
I think once files are compiled there is probably something in mix I can use to generate the .app file? I can then inject Erlang options from gleam.toml
lpil
The Gleam compiler only generates Erlang from Gleam modules, but it doesn’t know what any Elixir modules in the package expand to, so it cannot create .app files unless it owns the whole project and so will be performing Elixir and Erlang compilation. This means that any build tool that uses the Gleam compiler will need to generate the required BEAM .beam and .app files.
edit: Oops, I saw Papipo beat me to it!
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








