Skip to main content

Module export

Module export 

Source
Expand description

export <target> [--out <dir>] [--release] [--run] [--without <feature>]: the game checked against the target (check --target with the target’s profile: the desktop one for windows, linux and macos), refused on any error, then built and packaged by the target’s exporter (crate::export). The package goes in --out (from the game’s folder; dist/export/<target> without it) with export-report.json, which holds this answer’s result: the target, the version, the sizes, the check’s warnings, the signing and, with --release, the debug file kept beside the package. The final package is read back into exposure-report.json, and refused if it breaks the game’s disclosure part (crate::export::disclosure). With --run, the package is run after that.

Structs§

ExportInput
What export makes.
ExportOutput
What export made: export-report.json.
FileSize
A file of the export and its size.

Enums§

Signing
How a package is signed.

Constants§

REPORT
The report’s file, beside the package.

Functions§

export
export on project: the target’s check, with the game’s tools game if they are at hand, then its exporter.
parse_args
export’s arguments (--json taken out): the target, then --out <dir>, --release and --run in any order, each once, and --without <feature>, any number of times.
text
What export made, for people.
usage
export’s usage, with command as the tool’s name.