mix lissome.build_gleam (Lissome v0.3.1)

View Source

Builds Gleam source files to either JavaScript or Erlang targets using the gleam build command.

The gleam directory could be specified as an argument. If it is not provided, the path under :gleam_dir in the configuration is used with a fallback in case the configuration is not set. See Lissome.GleamBuilder.build_gleam/1 for more details.

The default target is Erlang.

Usage:

mix lissome.build_gleam mix lissome.build_gleam --target [javascript | erlang] mix lissome.build_gleam "path/to/my_gleam_dir" --target [javascript | erlang]