defmodule Structure.Mixfile do use Mix.Project def project do [ app: :structure, version: "0.2.2", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(), source_url: "https://github.com/anuragsoni/structure", description: "Collection of Data Structures", dialyzer: [plt_add_apps: [:structure], flags: [:error_handling, :race_conditions, :underspecs]], package: package() ] 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 [ {:stream_data, "~> 0.2", only: :test}, {:ex_doc, "~> 0.16", only: :dev, runtime: false}, {:dialyxir, "~> 0.5.0", only: [:dev], runtime: false}, {:credo, "~> 0.8", only: [:dev, :test], runtime: false}, {:dogma, "~> 0.1", only: [:dev, :test], runtime: false}, {:inch_ex, "~> 0.5", only: [:dev, :test], runtime: false} ] end defp package do [ maintainers: ["Anurag Soni"], licenses: ["Apache 2.0"], links: %{"GitHub" => "https://github.com/anuragsoni/structure"} ] end end