Detects the kind of BEAM project located in a directory.
:umbrella—mix.exsdeclaringapps_path(or anapps/*/mix.exslayout) with a rootmix.lock:mix—mix.exswithmix.lock:gleam—gleam.tomlwithmanifest.toml:rebar3—rebar.configwithrebar.lock
Summary
Functions
Detects the project type of dir.
Types
Functions
@spec detect(Path.t()) :: {:ok, info()} | {:error, :lockfile_not_found | :unknown_project, String.t()}
Detects the project type of dir.
Returns {:error, :lockfile_not_found, details} when a project manifest is
present without its lockfile, and {:error, :unknown_project, details} when
no supported manifest exists.