I am trying to use Gleam as the source language for my front end project.
Gleam is a fast, friendly, and functional language that recently announced support for compilation to JavaScript.
Gleam has built binaries that are used for compilation.
gleam compile-package --src src --out build/gen --name my_app --target javascript
What is the best way to install that binary in the netlify build environment?
My thoughts are
- commit the binary into my source repo (I’d rather not do this)
- fetch it using curl, if so is there a way to cache this?