# SPDX-FileCopyrightText: 2024 Ɓukasz Niemier <#@hauleth.dev> # # SPDX-License-Identifier: MPL-2.0 defmodule Aww.MixProject do use Mix.Project def project do [ app: :aww, description: "Generate URI for avatars", version: "1.0.0", package: [ licenses: ["MPL-2.0"], links: %{ "Gravatar" => "https://gravatar.com", "Libravatar" => "https://libravatar.org", "Codeberg" => "https://codeberg.org/hauleth/aww", "SourceHut" => "https://git.sr.ht/~hauleth/aww" } ], elixir: "~> 1.16", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), test_coverage: [ ignore_modules: [ AwwTest.Dns ] ], docs: [ formatters: ~w[html], extras: [ "README.md" ], main: "readme" ], deps: deps() ] end 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], mod: {Aww.Application, []}, env: [ default: :libravatar, defederated: [] ] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, ">= 0.0.0", only: [:dev, :test]}, {:stream_data, "~> 1.1", only: [:test]} ] end end