Current section
Files
Jump to
Current section
Files
mix.exs
defmodule JetExt.MixProject do
use Mix.Project
def project do
[
app: :jet_ext,
version: "0.3.0",
elixir: "~> 1.14",
description: "The extended tools for the Jet Team.",
source_url: "https://github.com/Byzanteam/jet-ext",
package: [
name: "jet_ext",
licenses: ["MIT"],
files: ~w(lib mix.exs mix.lock .tool-versions README.md),
links: %{
"GitHub" => "https://github.com/Byzanteam/jet-ext"
}
],
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
plt_add_apps: [:urn, :plug, :absinthe, :absinthe_relay]
]
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:ecto, "~> 3.12"},
{:jason, "~> 1.4"},
{:typed_struct, "~> 0.3.0"},
{:absinthe, "~> 1.7", optional: true},
{:absinthe_relay, "~> 1.5", optional: true},
{:plug, "~> 1.14", optional: true},
{:postgrex, ">= 0.0.0", optional: true},
{:urn, "~> 1.0", optional: true},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:ecto_sql, "~> 3.12", only: :test},
{:mimic, "~> 1.7", only: :test},
{:polymorphic_embed, "~> 5.0", only: :test}
]
end
defp elixirc_paths(:prod), do: ["lib"]
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end