Current section

Files

Jump to
ndc_ex_sdk mix.exs
Raw

mix.exs

defmodule NDCExSdk.Mixfile do
use Mix.Project
def project do
[app: :ndc_ex_sdk,
version: "0.2.25",
elixir: "~> 1.3.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps,
#elixirc_paths: elixirc_paths(Mix.env),
test_coverage: [tool: Coverex.Task],
package: [
licenses: ["Free licenses"],
maintainers: ["Zaali Kavelashvili", "Eloy Fernández", "Jorge Díaz"]
],
description: """
This is an Elixir package that wrapps any NDC-compliant API. It's host-agnostic and quite flexible-through-configuration so that it can reach NDC hosts with a certain flexibility
"""
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger, :httpoison]]
end
# Load paths where the files must be compiled
defp elixirc_paths(:test), do: ["lib", "test/provider_test/helpers"]
defp elixirc_paths(_), do: ["lib"]
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:xml_builder_plus, "~> 0.0.4"},
{:pipe, "~> 0.0.2"},
{:httpoison, "~> 0.9.0"},
{:timex, "~> 2.1"},
{:xml_to_keyword, "~> 0.0.2"},
{:credo, "~> 0.2", only: [:dev, :test]},
{:coverex, "~> 1.4.10", only: :test},
{:sweet_xml, "~> 0.3.0", only: [:dev, :test]},
{:ex_doc, ">= 0.0.0", only: :dev},
{:exvcr, "~> 0.7", only: :test}
]
end
end