DEV Community

Discussion on: Mixing Gleam & Elixir

 
crowdhailer profile image
Peter Saxton

I contributed a fix to Gleam that means it now finds gleam source for dependencies in a mix project github.com/gleam-lang/gleam/pull/596

Also instead of defining your own compiler module an alias will do aliases: ["compile.gleam": "cmd gleam build"]

I put a working example here github.com/midas-framework/elixir_...

Thread Thread
 
chazsconi profile image
chazsconi

Great! Works perfectly. Thanks Peter!

Thread Thread
 
crowdhailer profile image
Peter Saxton

There is now. github.com/gleam-lang/mix_gleam

Which should work even better.

I've also updated the elixir with gleam example