mix fow.gen.desktop (Fog of War v0.1.0)

Copy Markdown View Source

Generate desktop source when you want to build separately or customize the host.

mix fow.gen.desktop --env dev

Prepare the Apple bundle first with mix fow.bundle.prepare --env dev --platform apple. Then build with mix fow.build.desktop --env dev. Use --output to keep the project outside the generated directory. The default input is .fow/<env>/bundles/apple; use --bundle-dir to override it. For the ordinary macOS workflow, use mix fow.desktop.

How it fits

This is the generation step in the macOS workflow. mix fow.desktop calls the same FogOfWar.Wrapper.Generator.run!/4 function directly, rather than invoking this task. Use this task when you want the source project as a separate step.

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.