Packages

Aether is the elixir lib for implementating the AT Protocol in your phoenix app.

Current section

Files

Jump to
aether mix.exs
Raw

mix.exs

defmodule Aether.MixProject do
use Mix.Project
@version "0.1.0"
@scm_url "https://gitea.fullstack.ing/FullStack.ing/aether"
@elixir_requirement "~> 1.18"
def project do
[
app: :aether,
start_permanent: Mix.env() == :prod,
version: @version,
elixir: @elixir_requirement,
deps: deps(),
package: [
maintainers: [
"Josh Chernoff"
],
licenses: ["Apache-2.0"],
links: %{"Gitea" => @scm_url},
files: ~w(lib mix.exs README.md)
],
source_url: @scm_url,
# docs: docs(),
homepage_url: "https://gitea.fullstack.ing/FullStack.ing/aether",
description: """
Aether is the elixir lib for implementating the AT Protocol in your phoenix app.
""",
elixirc_paths: elixirc_paths(Mix.env()),
compilers: Mix.compilers()
]
end
def cli do
[preferred_envs: [docs: :docs]]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :runtime_tools]
]
end
# defp docs do
# [
# source_url_pattern: "#{@scm_url}/blob/v#{@version}/installer/%{path}#L%{line}"
# ]
# end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:req, "~> 0.5.15"},
{:plug, "~> 1.15", optional: true},
{:phoenix, "~> 1.7", optional: true},
{:websockex, "~> 0.4.3"},
{:gen_stage, "~> 1.0"},
{:cbor, "~> 1.0"},
{:ex_doc, "~> 0.24", only: :dev, runtime: false}
]
end
end