meta/lib/meta.ex

18 lines
471 B
Elixir
Raw Normal View History

defmodule Meta do
2020-12-15 08:45:34 +01:00
@moduledoc """
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.
"""
# 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