Archeometer.Explore.Project (Archeometer v0.1.1)

Utilities for obtaining higher level information about a project, mostly through Mix and Application.

Link to this section Summary

Functions

Obtain the list of local app in the current project. This is the value of :app in regular projects and all the children apps in umbrella projects.

Get the (underscored) module name of the current projectmix.exs file. Every directory with one is considered a project by Mix.

Given a file path, try to guess its application. If the project is not umbrella, just return the project app. Else try to parse the path to guess the application.

Get all the locally defined modules.

Obtain all the locally defined modules by application.

Obtain all the apps defined as umbrella children.

Link to this section Functions

Obtain the list of local app in the current project. This is the value of :app in regular projects and all the children apps in umbrella projects.

Get the (underscored) module name of the current projectmix.exs file. Every directory with one is considered a project by Mix.

Link to this function

guess_app_from_path(file_path)

Given a file path, try to guess its application. If the project is not umbrella, just return the project app. Else try to parse the path to guess the application.

Link to this function

local_modules()

Get all the locally defined modules.

Link to this function

local_modules_by_app()

Obtain all the locally defined modules by application.

Link to this function

umbrella_apps()

Obtain all the apps defined as umbrella children.