PhoenixAssets. MixHelpers
(PhoenixAssets v0.1.0)
View Source
Shared helpers for the phoenix_assets.* Mix tasks.
Builds the PhoenixAssets.Context from the host application's configuration and
the configured preset, so each task does not repeat the load-config-and-resolve
dance. Kept free of Mix references (the env is passed in) so it remains a
plain library module.
Summary
Functions
Builds the context for a Mix task from the host configuration.
Functions
@spec context!(keyword()) :: PhoenixAssets.Context.t()
Builds the context for a Mix task from the host configuration.
Options: :env (the Mix environment, default :prod).