mix.exs

defmodule JaNestedParams.Mixfile do
  use Mix.Project

  def project do
    [
      app: :ja_nested_params,
      version: "0.0.1",
      elixir: "~> 1.1",
      build_embedded: Mix.env == :prod, 
      start_permanent: Mix.env() == :prod,
      deps: deps(),
      description: description()  ,
      package: 
        [ licenses: ["BSD 3-Clause"],
          files: ["LICENSE", "lib/ja_nested_params.ex", "mix.exs"] ,
          links: %{"GitHub" => "https://github.com/bundsol/ja_nested_params"}, 
          maintainers: ["Salvador Sanchez"]
        ] ,
      source_url: "https://github.com/bundsol/ja_nested_params"
    ]
  end

  # Run "mix help compile.app" to learn about applications.
  def application do
    [
      extra_applications: [:logger]
    ]
  end

  # Run "mix help deps" to learn about dependencies.
  defp deps do
    [
      {:ex_doc, "~> 0.18.0", only: :dev}
    ]
  end
  
  defp description do
    "Parser for nested params from Json Api document with `included` object."
  end 
end