Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Gleam support in Mix

50 views
Skip to first unread message

Rodrigo Álvarez

unread,
Feb 12, 2025, 6:26:15 AMFeb 12
to elixir-lang-core
Hi there!

I want to teach Mix to compile Gleam path dependencies. I think I need to do that by adding support in the core, right? I can't just create a package to do so AFAIK. Can you confirm?

Also, do you think such PR would be accepted?

Thanks in advance,
Rodrigo.

José Valim

unread,
Feb 12, 2025, 6:47:13 AMFeb 12
to elixir-l...@googlegroups.com
Yes, such a PR would be accepted. You can look at "mix deps.compile", where we deal with Rebar and Makefile integration. It would probably be similar.


--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/elixir-lang-core/0b1f7721-10d9-46e4-babe-af07c179aa1an%40googlegroups.com.
Message has been deleted

Rodrigo Álvarez

unread,
Feb 18, 2025, 5:36:17 AMFeb 18
to elixir-lang-core
The Gleam folks are working in a command to export the gleam.toml file as JSON so we don't need to use regexes for this integration.

I have a question regarding the gleam javascript target. Can we support that somehow?
I think that being able to use packages meant for the frontend in something like Phoenix would be nice.
We could first release erlang support in Mix, though, I wouldn't want javascript to block this.

Cheers,
Rodrigo.

Reply all
Reply to author
Forward
0 new messages