Ash.Mix.Tasks.Helpers (ash v3.30.1)

Copy Markdown View Source

Helpers for Ash Mix tasks.

Summary

Functions

Discovers all modules that use Ash.Domain inside the host mix application layout. Can be safely invoked inside config.exs.

Get all domains for the current project and ensure they are compiled.

Gets all extensions in use by the current project's domains and resources

Functions

discover_domains(igniter)

Discovers all modules that use Ash.Domain inside the host mix application layout. Can be safely invoked inside config.exs.

domains!(argv)

Get all domains for the current project and ensure they are compiled.

extensions!(argv, opts \\ [])

@spec extensions!(argv :: [String.t()], opts :: [{:in_use?, boolean()}]) :: [module()]

Gets all extensions in use by the current project's domains and resources