defmodule AbsintheQueryAll.MixProject do use Mix.Project def project do [ app: :absinthe_query_all, version: "0.1.1", description: "A package for automatic, comprehensive querying of Absinthe GraphQL schemas (for purposes of easily creating automatic testing setups).", package: package(), source_url: "https://gitlab.com/neurodynamic/absinthe_query_all", elixir: "~> 1.17", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), preferred_cli_env: [ "test.watch": :test ] ] end defp package() do [ licenses: ["MIT"], links: %{ GitLab: "https://gitlab.com/neurodynamic/absinthe_query_all" } ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp elixirc_paths(:test), do: elixirc_paths(nil) ++ ["test/support"] defp elixirc_paths(_) do ["lib", "lib/absinthe_query_all", "lib/absinthe_query_all/query"] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:absinthe, "~> 1.7.8"}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:mix_test_watch, "~> 1.2", only: [:dev, :test], runtime: false} ] end end