The manifest (
wapm.toml) is optional for using the
wapmCLI tool; it manages package dependencies, metadata and commands.
If you want to get assistance creating the
wapm.tomlfile you can simply run
wapm initin your directory and the CLI will guide you!
The manifest file contains 4 sections:
Valid keys are:
license-file(path): an override for the license file path used in publishing. Left undefined, the
LICENSEfile will be implicitly included in the package.
wasmer-extra-flags(string): extra arguments to pass via
wapm run, for example:
<namespace>/<name>" = "<version>
source(path) required: path to the
abi(enum): one of:
namerequired (string): the name of the command, invoked via
wapm run <command-name>
modulerequired (string): the name of the module this command is running.
packagerequired (string): the package name that the module is in.
"location/on/wasm"="location/on/host": a mapping between paths