View Source Phy.Mix.Project behaviour (phy v0.1.1)
This module wraps access to Mix.Project, allowing for easier mocking elsewhere in the project. While the rest of the project uses Mox, this wrapper uses dependency injection as its testing/mocking approach.
Summary
Callbacks
@callback app() :: atom()
@callback app(mix_project :: Mix.Project) :: atom()
@callback config() :: map()
@callback config(mix_project :: Mix.Project) :: map()
@callback module() :: String.t()
@callback module(mix_project :: Mix.Project) :: String.t()
@callback web_module() :: String.t()
@callback web_module(mix_project :: Mix.Project) :: String.t()