Medic.Checks.Hex (Medic v2.0.1)

View Source

Hex installed locally, and mix deps installed.

Examples

{Check.Hex, :local_hex?}
{Check.Hex, :installed?}

Summary

Functions

Checks that hex is installed locally.

Checks that rebar is installed locally.

Checks that all Mix dependencies are compiled.

Checks that all Mix dependencies are installed.

Functions

local_hex_installed?()

@spec local_hex_installed?() :: Medic.Check.check_return_t()

Checks that hex is installed locally.

local_rebar_installed?()

@spec local_rebar_installed?() :: Medic.Check.check_return_t()

Checks that rebar is installed locally.

packages_compiled?(opts \\ [])

@spec packages_compiled?(opts :: Keyword.t()) :: Medic.Check.check_return_t()

Checks that all Mix dependencies are compiled.

Examples

{Medic.Checks.Hex, :packages_compiled?}
{Medic.Checks.Hex, :packages_compiled?, [cd: "subdirectory"]}

packages_installed?(opts \\ [])

@spec packages_installed?(opts :: Keyword.t()) :: Medic.Check.check_return_t()

Checks that all Mix dependencies are installed.

Examples

{Medic.Checks.Hex, :packages_installed?}
{Medic.Checks.Hex, :packages_installed?, [cd: "subdirectory"]}

rebar_path()