mix popcorn.cook (Popcorn v0.3.0)

View Source

Builds the .avm bundle for a Popcorn project.

Accepts the following options:

  • out_dir - the directory to write artifacts to
  • start_module - optional module with start/0 used as the bundle entrypoint

out_dir is mandatory, unless provided via config.exs, for example config :popcorn, out_dir: "dist/wasm"