2021-04-12 15:44:12 +02:00
|
|
|
defmodule Meta do
|
2020-12-15 08:45:34 +01:00
|
|
|
@moduledoc """
|
2021-04-12 15:44:12 +02:00
|
|
|
Meta keeps the contexts that define your domain
|
2020-12-15 08:45:34 +01:00
|
|
|
and business logic.
|
|
|
|
|
|
|
|
Contexts are also responsible for managing your data, regardless
|
|
|
|
if it comes from the database, an external API or others.
|
|
|
|
"""
|
2021-01-13 17:36:14 +01:00
|
|
|
|
|
|
|
# Mix is not available in releases, and these things are static
|
|
|
|
# anyway (@variables are evaluated at compile time).
|
|
|
|
@version Mix.Project.config[:version]
|
|
|
|
@env Mix.env
|
|
|
|
|
|
|
|
def version, do: @version
|
|
|
|
def env, do: @env
|
2020-12-15 08:45:34 +01:00
|
|
|
end
|