mix fow.export.cache (Fog of War v0.1.0)

Copy Markdown View Source

Export offline route snapshots without building an app.

mix fow.export.cache --env dev --output .fow/dev/bundles/cache

Run from the Phoenix project with the public website reachable. The output contains an index and gzip payloads for an importer. Use --debug to retain capture HTML for troubleshooting. For generated native apps, mix fow.bundle.prepare adds the platform-specific startup document and assets.

How it fits

This is a lower-level capture tool for inspecting or consuming gzip route records. Native bundle preparation calls the same FogOfWar.Wrapper.CacheExport module directly; running this task separately is unnecessary for a normal build.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.