mix ash_gleam.install
(ash_gleam v0.3.2)
Copy Markdown
Installs AshGleam into a project. Should be called with mix igniter.install ash_gleam
Configures your Mix project to use MixGleam and AshGleam by applying the changes described in the MixGleam README:
- Adds
archives: [mix_gleam: "~> 0.6"]to project/0 - Adds
:gleamto the compilers list - Adds
erlc_pathspointing to Gleam build artefacts - Sets
erlc_include_pathfor Gleam-generated include files - Sets
prune_code_paths: false(required for Elixir >= v1.15.0) - Adds a
deps.getalias that also runsgleam.deps.get - Adds
gleam_stdlibandgleeunitto deps - Creates a
src/directory for Gleam source files - Adds
build/to.gitignore