defmodule Flagsmith.SDK.MixProject do use Mix.Project def project do [ app: :flagsmith_elixir_sdk, version: "0.1.2", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), source_url: "https://github.com/Flagsmith/flagsmith-elixir-client", homepage_url: "https://hexdocs.pm/flagsmith_elixir_sdk/readme.html", docs: [ main: "Flagsmith.SDK", extras: ["README.md"] ], description: "Elixir Client for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at.", package: [ exclude_patterns: [~r/.*~$/, ~r/#.*#$/], licenses: ["MIT"], links: %{ "github/readme" => "https://github.com/Flagsmith/flagsmith-elixir-client" } ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ {:tesla, "~> 1.4"}, {:jason, "~> 1.2"}, {:ecto, "~> 3.7.0"}, {:typed_ecto_schema, "~> 0.3", runtime: false}, {:plug_cowboy, "~> 2.0", only: :test, runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, {:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false} ] end end