mix exclosured_precompiled.precompile
(exclosured_precompiled v0.1.0)
Copy Markdown
Compile WASM modules and package them into tar.gz archives for publishing to a GitHub Release.
This task automatically builds from source (skipping precompiled downloads) and packages the results.
Usage
# Auto-discover everything from mix.exs and ExclosuredPrecompiled config:
mix exclosured_precompiled.precompile
# Or override version and modules:
mix exclosured_precompiled.precompile --version 0.1.0 --modules my_processor,my_filterOptions
--version- The version string for the archive filename. Defaults to the project version frommix.exs.--modules- Comma-separated list of module names to package. If omitted, auto-discovers from modules usingExclosuredPrecompiled.--wasm-dir- Base directory for WASM files (default:priv/static/wasm)--output-dir- Where to write archives (default:_build/precompiled)
Output
Creates one .tar.gz and .sha256 file per module in the output directory.