Download precompiled plushie artifacts for the current platform.
Usage
mix plushie.download # download native binary (default)
mix plushie.download --wasm # download WASM renderer only
mix plushie.download --bin --wasm # download bothOptions
--bin- Download the native binary--wasm- Download the WASM renderer--bin-file PATH- Override native binary destination--wasm-dir PATH- Override WASM output directory--force- Re-download even if files already exist
Config
All options can be set in config.exs so commands work without flags:
config :plushie,
artifacts: [:bin, :wasm], # which artifacts to install
bin_file: "priv/bin/plushie-renderer", # binary destination
wasm_dir: "priv/static" # WASM output directoryCLI flags override config. Default artifacts: [:bin].