# `mix tuist.compile`

Runs `mix compile` with the Tuist analytics compile reporter attached and
submits the resulting build to your Tuist dashboard.

    mix tuist.compile [--url URL] [--project ACCOUNT/PROJECT] [ARGS...]

Every other argument is forwarded to `mix compile` as is, so the task can
stand in for it. Alias it in your `mix.exs` and every compile reports to
Tuist, including the ones `mix test` or `mix phx.server` trigger:

    def project do
      [aliases: [compile: "tuist.compile"]]
    end

The project handle, URL, and authentication follow the same precedence as
`mix tuist.test` and `mix tuist.login`.

A submission failure never changes the exit code of `mix compile`; set
`TUIST_DEBUG=1` to surface the reason on standard error.

# `run`

# `split_args`

Splits the task's own options from the arguments meant for `mix compile`.
A `--` separator is accepted for compatibility and dropped.

---

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