gleam-lang/gleam

Consolidate protocols for elixir dependencies

Open

#1,743 opened on Aug 29, 2022

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Rust (21,417 stars) (960 forks)batch import
help wanted

Description

Do we ever consolidate protocols? Could have an issue for adding it later to avoid it blocking this addition.

Originally posted by @lpil in https://github.com/gleam-lang/gleam/pull/1741#discussion_r957089836

At the moment we don't. Here's how rebar_mix used to do it. https://github.com/Supersonido/rebar_mix/blob/00ea7c800446f87a31db00b9c5987d0b76736226/src/rebar_mix_protocol_consolidation.exs

We could use the same or a similar Elixir script and make a directory alongside everything in build/dev/erlang. With something like consolidated/ebin there, it might just work?

Contributor guide