# `FogOfWar.Wrapper.Generator`
[🔗](https://github.com/mrluc/fow/blob/main/lib/fog_of_war/wrapper/generator.ex#L1)

Creates a standalone native source project from a resolved manifest and prepared bundle. Generation copies the inputs and writes the host project. The generated build script handles native compilation.

## How it fits

Called by both generator Mix tasks and directly by `FogOfWar.Wrapper.Workflow.desktop!/2`. It creates source projects; `Workflow` handles desktop building and installation.

# `run!`

Generate a Mob or ElixirKit project at the output path. Read the selected environment from the manifest file. Pass `:force` to replace an existing generated project after staging succeeds.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
