mix compile.proto (LiveKit v0.1.0)

View Source

Mix task for compiling protobuf definitions. This task is automatically run when the project is compiled.

Summary

Functions

Cleans up any generated files.

Returns paths to the compiled protobuf files.

Compiles protobuf files. Returns {:ok, []} if successful, or {:error, message} if there was an error.

Functions

clean()

@spec clean() :: :ok

Cleans up any generated files.

manifests()

@spec manifests() :: [String.t()]

Returns paths to the compiled protobuf files.

run(args)

@spec run(any()) :: {:ok, []} | {:error, String.t()}

Compiles protobuf files. Returns {:ok, []} if successful, or {:error, message} if there was an error.