All checks were successful
continuous-integration/drone/pr Build is passing
* `decimal`: from 2.1.1 to 2.3.0 * `earmark_parser`: from 1.4.41 to 1.4.43 * `ex_doc`: from 0.34.2 to 0.36.1 * `req`: from 0.5.7 to 0.5.8 https://diff.hex.pm/diffs?diffs[]=decimal:2.1.1:2.3.0&diffs[]=earmark_parser:1.4.41:1.4.43&diffs[]=ex_doc:0.34.2:0.36.1&diffs[]=req:0.5.7:0.5.8&
75 lines
2.2 KiB
Elixir
75 lines
2.2 KiB
Elixir
defmodule Wabanex.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :wabanex,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.7",
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
|
compilers: Mix.compilers(),
|
|
start_permanent: Mix.env() == :prod,
|
|
dialyzer: [plt_core_path: "priv/plts"],
|
|
test_coverage: [tool: LcovEx, output: "cover"],
|
|
preferred_cli_env: [lcov: :test],
|
|
aliases: aliases(),
|
|
deps: deps()
|
|
]
|
|
end
|
|
|
|
def application do
|
|
[
|
|
mod: {Wabanex.Application, []},
|
|
extra_applications: [:logger, :runtime_tools]
|
|
]
|
|
end
|
|
|
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
|
defp elixirc_paths(_), do: ["lib"]
|
|
|
|
defp deps do
|
|
[
|
|
{:absinthe, "~> 1.7.0"},
|
|
{:absinthe_plug,
|
|
git: "https://github.com/absinthe-graphql/absinthe_plug.git",
|
|
ref: "307c8bb14f9eec8a5cd77842366ac4eae7f17d76"},
|
|
{:credo, "~> 1.7.0", only: [:dev, :test], runtime: false},
|
|
{:crudry, "~> 2.4.0"},
|
|
{:decimal, "~> 2.3.0"},
|
|
{:dialyxir, "~> 1.4.0", only: [:dev, :test], runtime: false},
|
|
{:dns_cluster, "~> 0.1.1"},
|
|
{:ecto_sql, "~> 3.12.0"},
|
|
{:elixlsx, "~> 0.6.0", only: :test},
|
|
{:ex_doc, "~> 0.36.0", only: :dev, runtime: false},
|
|
{:gettext, "~> 0.26.0"},
|
|
{:jason, "~> 1.4.0"},
|
|
{:junit_formatter, "~> 3.4.0", only: [:test]},
|
|
{:lcov_ex, "~> 0.3.0", only: [:dev, :test], runtime: false},
|
|
{:mix_audit, "~> 2.1.0", only: [:dev, :test], runtime: false},
|
|
{:nimble_csv, "~> 1.2.0"},
|
|
{:pg_ranges, "~> 1.1.0"},
|
|
{:phoenix, "~> 1.7.0"},
|
|
{:phoenix_ecto, "~> 4.6.0"},
|
|
{:phoenix_live_dashboard, "~> 0.8.0"},
|
|
{:phoenix_view, "~> 2.0.0"},
|
|
{:plug_cowboy, "~> 2.7.0"},
|
|
{:postgrex, "~> 0.19.0"},
|
|
{:prom_ex, "~> 1.11.0"},
|
|
{:req, "~> 0.5.0"},
|
|
{:sobelow, "~> 0.13", only: [:dev, :test], runtime: false},
|
|
{:telemetry_metrics, "~> 1.1.0"},
|
|
{:telemetry_poller, "~> 1.1.0"},
|
|
{:xlsx_reader, "~> 0.8.0"}
|
|
]
|
|
end
|
|
|
|
defp aliases do
|
|
[
|
|
setup: ["deps.get", "ecto.setup"],
|
|
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
|
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
|
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"]
|
|
]
|
|
end
|
|
end
|