mix fow.bundle.prepare (Fog of War v0.1.0)

Copy Markdown View Source

Capture the public startup document and assets for one WebView platform.

mix fow.bundle.prepare --env android-dev --platform android

Run from the Phoenix project with the selected website reachable. Output goes to .fow/<env>/bundles/<platform>/. Use --platform apple for the desktop generator, or --platform ios for Mob on iOS. Move an existing bundle aside or choose another --output. The macOS shortcut mix fow.desktop already prepares its bundle.

How it fits

This is a lower-level step. For macOS, mix fow.desktop calls FogOfWar.Wrapper.NativeBundle.run!/5 itself. For mobile, run this task before mix fow.gen.mobile, once per selected platform.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.