mix popcorn.cook (Popcorn v0.1.0)
View SourceGenerates static artifacts to run the project in the browser.
Accepts the following options:
out_dir- the directory to write artifacts totarget-wasm(default) orunix. Ifunixis chosed, you need to build the runtime first withmix popcorn.build_runtime --target unix
out_dir is mandatory, unless provided via config.exs,
for example config :popcorn, out_dir: "static/wasm"