aqua v0.9.2 Aqua.ProjectParser.Flat

This module calculates pathes and aliases for flat project.

Link to this section Summary

Link to this section Functions

Link to this function

alias_to_path(raw_alias, app)

Trying to generate path for alias in umbrella project.

Alias should start with valid umbrella child application (for ex. AppName.ModuleName)

In this case the path will be apps/app_name/lib/module_name.ex

Link to this function

inject_pathes(raw_path, app)
inject_pathes(raw_path :: binary(), app :: atom()) ::
  {:error, :absolute_path}
  | {:ok, {checked_path :: binary(), module_alias :: atom()}}

Link to this function

path_to_alias(unchecked_path, app)