serum v0.13.0 Serum.Project.Loader
A module for loading Serum project definition files.
Link to this section Summary
Functions
Detects and loads Serum project definition file from the source directory.
Link to this section Functions
Link to this function
load(src, dest)
load(src, dest)
load(binary(), binary()) :: Serum.Result.t(Serum.Project.t())
load(binary(), binary()) :: Serum.Result.t(Serum.Project.t())
Detects and loads Serum project definition file from the source directory.
This function first looks for serum.exs
. If it does not exist, it checks if
serum.json
exists. If none of them exists, an error is returned.